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

:root {
    --bubble-primary: #60a5fa;
    --bubble-secondary: #f472b6;
    --bubble-accent: #34d399;
    --bubble-bg: linear-gradient(135deg, #a5b4fc 0%, #f9a8d4 25%, #93c5fd 50%, #86efac 75%, #fbbf24 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #faf9f6;
    min-height: 100vh;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    padding-top: 70px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Bubbles Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 114, 182, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(52, 211, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(147, 197, 253, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 10%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.9;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 20px 0;
}

header h1 {
    font-size: clamp(1.8em, 5vw, 2.5em);
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: clamp(0.95em, 3vw, 1.1em);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-header h1 {
    color: white;
    margin: 0;
    font-size: clamp(1.5em, 4vw, 2em);
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.auth-buttons {
    text-align: center;
    margin: 40px 0;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    margin: 8px 5px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #f06292 100%);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #60a5fa;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #60a5fa;
    color: #3b82f6;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    margin-bottom: 12px;
    color: #1e293b;
    font-size: 1.2em;
    font-weight: 600;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95em;
    line-height: 1.6;
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 16px;
    display: block;
}

/* ========================================
   NEW MODERN INDEX PAGE STYLES
   ======================================== */

/* Hero Header */
.hero-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 85vh;
    padding: 80px 20px;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    margin-bottom: 32px;
    font-size: 14px;
    color: #3b82f6;
    font-weight: 500;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: clamp(2.5em, 6vw, 4.5em);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1e293b;
    text-shadow: none;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1em, 2vw, 1.35em);
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 580px;
    text-shadow: none;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.5);
    background: linear-gradient(135deg, #3b82f6 0%, #f06292 100%);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    background: white;
    color: #64748b;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-hero-secondary:hover {
    background: #f8fafc;
    border-color: rgba(96, 165, 250, 0.3);
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

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

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    text-shadow: none;
}

.stat-desc {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* Hero Visual - Floating Cards */
.hero-visual {
    position: relative;
    height: 500px;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px 28px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 15%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.card-icon {
    font-size: 32px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.card-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 4px;
}

.card-value {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

/* Features Section */
.features-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2em, 4vw, 3em);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    text-shadow: none;
}

.section-description {
    font-size: 1.1em;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

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

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.3);
}

.feature-icon {
    font-size: 36px;
}

.feature-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 1em;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-highlight {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    text-align: center;
    background: white;
    border-radius: 40px;
    margin: 80px 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2em, 4vw, 3em);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    text-shadow: none;
}

.cta-description {
    font-size: 1.15em;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.4);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(96, 165, 250, 0.5);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background: transparent;
    color: #64748b;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(96, 165, 250, 0.3);
    color: #3b82f6;
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    margin-top: 100px;
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.footer-brand h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #64748b;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-link-group h4 {
    font-size: 1em;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.footer-link-group a {
    display: block;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-link-group a:hover {
    color: #1e293b;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #94a3b8;
    font-size: 14px;
}

.auth-container {
    max-width: 420px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #1e293b;
    font-size: clamp(1.6em, 4vw, 1.9em);
    font-weight: 700;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1e293b;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    background: #ffffff;
    color: #1e293b;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #60a5fa;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.1);
}

/* Password input wrapper dengan toggle icon */
.password-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.password-input-wrapper input {
    padding-right: 45px;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: color 0.2s ease;
    z-index: 10;
    outline: none;
}

.password-toggle:hover {
    color: #60a5fa;
}

.password-toggle:focus {
    outline: none;
    color: #60a5fa;
}

.password-toggle .eye-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.active .eye-open {
    display: none;
}

.password-toggle.active .eye-closed {
    display: block;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    font-size: 15px;
    background: #ffffff;
    color: #1e293b;
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    color: #64748b;
    font-size: 14px;
}

.auth-link a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

.error-message {
    color: #991b1b;
    margin-top: 10px;
    padding: 12px;
    background: #fee2e2;
    border-radius: 12px;
    display: none;
    font-size: 14px;
    border: 1px solid #feb2b2;
}

.error-message:not(:empty) {
    display: block;
}

.success-message {
    color: #065f46;
    margin-top: 10px;
    padding: 12px;
    background: #d1fae5;
    border-radius: 12px;
    display: none;
    font-size: 14px;
    border: 1px solid #9ae6b4;
}

.success-message:not(:empty) {
    display: block;
}

.dashboard-main {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dashboard-main h2 {
    font-size: clamp(1.3em, 3.5vw, 1.6em);
    margin-bottom: 24px;
    color: #1e293b;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(96, 165, 250, 0.3);
}

.wallet-section,
.deposit-withdraw-section,
.exchange-section,
.transactions-section {
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.wallet-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.deposit-withdraw-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 16px;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
}

.tab-btn.active {
    background: white;
    color: #60a5fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover:not(.active) {
    color: #1e293b;
    background: rgba(255, 255, 255, 0.5);
}

.wallet-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.wallet-card p {
    margin: 12px 0;
    font-size: 0.95em;
    line-height: 1.6;
    color: #475569;
}

.wallet-card strong {
    color: #1e293b;
    display: inline-block;
    min-width: 120px;
    font-weight: 600;
}

.wallet-card code {
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    word-break: break-all;
    display: inline-block;
    margin-top: 5px;
    border: 1px solid #e2e8f0;
    font-family: 'Courier New', monospace;
    color: #1e293b;
}

.exchange-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.exchange-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.rate-display {
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 100%);
    color: white;
    padding: 24px;
    border-radius: 24px;
    margin-bottom: 24px;
    text-align: center;
    font-size: clamp(1em, 3vw, 1.1em);
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(96, 165, 250, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.rate-display strong {
    font-size: 1.1em;
    font-weight: 600;
}

.exchange-form {
    margin-top: 20px;
}

.message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 16px;
    font-size: 14px;
}

.transaction-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    margin-bottom: 12px;
    border-radius: 20px;
    border-left: 4px solid #60a5fa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.transaction-item:hover {
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.transaction-item p {
    margin: 8px 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: #475569;
}

.transaction-item strong {
    color: #1e293b;
    font-size: 1.05em;
    font-weight: 600;
}

.success-message.message {
    background: #d1fae5;
    border: 1px solid #9ae6b4;
    color: #065f46;
}

.error-message.message {
    background: #fee2e2;
    border: 1px solid #feb2b2;
    color: #991b1b;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1em;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top-color: #60a5fa;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   ROMBAKAN ULANG: BALANCE CARDS
   Desain Baru - Fresh & Modern
   ======================================== */

/* Container untuk balance cards - Mobile First (Vertikal) */
.balance-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Card wrapper */
.balance-card {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Inner card dengan gradient background */
.balance-card-inner {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.balance-card:hover .balance-card-inner {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* TRX Card - Red/Pink Gradient */
.balance-card-trx {
    background: linear-gradient(145deg, #f72585 0%, #b5179e 50%, #7209b7 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* IDR Card - Blue Gradient */
.balance-card-idr {
    background: linear-gradient(145deg, #4361ee 0%, #3a0ca3 50%, #4cc9f0 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Decorative circle background */
.balance-card-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatCircle 6s ease-in-out infinite;
    z-index: 0;
}

@keyframes floatCircle {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-30px, -30px) scale(1.1);
        opacity: 0.6;
    }
}

/* Card Body */
.balance-card-body {
    position: relative;
    z-index: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
    color: white;
}

/* Title Section */
.balance-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.95;
}

.balance-card-icon {
    font-size: 1.8em;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    animation: iconBounce 2s ease-in-out infinite;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    line-height: 1;
}

/* Styling untuk SVG dan img di dalam icon */
.balance-card-icon svg,
.balance-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.balance-card-icon svg {
    color: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.balance-card-icon img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) brightness(0) invert(1);
}

/* Khusus untuk icon TRX */
.balance-card-trx .balance-card-icon img {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    /* Logo TRX lokal sudah putih di background merah, cukup tambahkan shadow */
    object-fit: contain;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Value Section */
.balance-card-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.balance-currency-symbol {
    font-size: 1.3em;
    font-weight: 700;
    opacity: 0.95;
    letter-spacing: 1.5px;
}

.balance-amount {
    font-size: 2.8em;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
    word-break: break-word;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.balance-currency {
    font-size: 1.2em;
    font-weight: 600;
    opacity: 0.9;
    margin-left: 4px;
    letter-spacing: 1.5px;
}

/* Footer dengan buttons */
.balance-card-footer {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.balance-action-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.balance-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.balance-action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.balance-btn-deposit {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.balance-btn-deposit:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.balance-btn-withdraw {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.balance-btn-withdraw:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.balance-action-btn:active {
    transform: scale(0.96) translateY(0);
}

/* Legacy compatibility */
.balance-btn {
    padding: 12px 20px;
    font-size: 0.85em;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Transaction Type Toggle */
.transaction-type-btn {
    position: relative;
}

.transaction-type-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-1px);
}

.transaction-type-btn:active {
    transform: scale(0.98);
}

/* Wallet Cards Grid - untuk kompatibilitas */
.wallet-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Mobile: Vertikal (atas-bawah) - DEFAULT */
@media (max-width: 767px) {
    /* Hero Header Mobile */
    .hero-header {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
        padding: 60px 20px 40px;
    }
    
    .hero-visual {
        height: 300px;
        order: -1;
    }
    
    .floating-card {
        padding: 16px 20px;
    }
    
    .card-icon {
        font-size: 24px;
    }
    
    .card-value {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2em;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
        margin: 0 auto 30px;
    }
    
    .hero-cta {
        justify-content: center;
        margin-bottom: 40px;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .hero-stat-divider {
        height: 30px;
    }
    
    /* Features Section Mobile */
    .features-section {
        padding: 60px 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .section-description {
        font-size: 0.95em;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }
    
    .feature-item {
        padding: 32px 24px;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: 60px 20px;
        margin: 40px 10px;
        border-radius: 24px;
    }
    
    .cta-title {
        font-size: 1.8em;
    }
    
    .cta-description {
        font-size: 0.95em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Old styles for compatibility */
    .hero-section {
        margin: 40px 0 50px;
        padding: 30px 15px;
    }
    
    .hero-section h2 {
        font-size: 1.8em;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    
    .auth-buttons {
        margin: 30px 0;
    }
    
    .btn-large {
        padding: 14px 32px;
        font-size: 15px;
        min-width: 160px;
        display: block;
        margin: 10px auto;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
        padding: 0 15px;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
        padding: 30px 15px;
    }
    
    .stat-item {
        padding: 24px 20px;
    }
    
    .stat-number {
        font-size: 1.6em;
    }
    
    .balance-cards-container {
        flex-direction: column;
        gap: 14px;
    }
    
    .wallet-cards-grid {
        flex-direction: column;
        gap: 14px;
    }
    
    .balance-card-inner {
        min-height: 160px;
        border-radius: 16px;
    }
    
    .balance-card-body {
        padding: 18px 16px;
    }
    
    .balance-amount {
        font-size: 1.8em;
    }
    
    .balance-card-title {
        font-size: 0.85em;
        margin-bottom: 16px;
        gap: 8px;
    }
    
    .balance-card-icon {
        font-size: 1.3em;
    }
    
    /* Di mobile, buat value dan footer sejajar horizontal menggunakan grid */
    .balance-card-body {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 12px;
        align-items: center;
    }
    
    .balance-card-title {
        grid-column: 1 / -1;
        grid-row: 1;
        margin-bottom: 0;
    }
    
    .balance-card-value {
        grid-column: 1;
        grid-row: 2;
        margin-bottom: 0;
        align-self: center;
    }
    
    .balance-card-footer {
        grid-column: 2;
        grid-row: 2;
        flex-direction: column;
        gap: 8px;
        margin-top: 0;
        align-items: flex-end;
        flex-shrink: 0;
        align-self: center;
    }
    
    .balance-currency-symbol {
        font-size: 1.1em;
    }
    
    .balance-currency {
        font-size: 1em;
    }
    
    .balance-action-btn {
        flex: 0 0 auto;
        width: auto;
        min-width: 90px;
        padding: 10px 14px;
        font-size: 0.8em;
    }
    
    .balance-card-decoration {
        width: 200px;
        height: 200px;
        top: -70px;
        right: -70px;
    }
}

/* Tablet & Desktop: Horizontal (kiri-kanan) */
@media (min-width: 768px) {
    .balance-cards-container {
        flex-direction: row;
        gap: 18px;
    }
    
    .wallet-cards-grid {
        flex-direction: row;
        gap: 18px;
    }
    
    .balance-card {
        flex: 1;
        min-width: 0;
    }
    
    .balance-card-inner {
        min-height: 180px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    }
    
    .balance-card:hover .balance-card-inner {
        transform: translateY(-1px);
        box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
    }
    
    .balance-card-body {
        padding: 24px 20px;
    }
    
    .balance-amount {
        font-size: 2.2em;
    }
    
    .balance-card-title {
        font-size: 0.9em;
        margin-bottom: 18px;
    }
    
    .balance-card-icon {
        font-size: 1.5em;
    }
    
    .balance-card-value {
        margin-bottom: 20px;
    }
    
    .balance-card-footer {
        flex-direction: row;
        gap: 10px;
    }
    
    .balance-action-btn {
        padding: 12px 18px;
        font-size: 0.85em;
    }
}

/* Desktop Large: Ukuran proporsional */
@media (min-width: 1024px) {
    .balance-cards-container {
        gap: 20px;
    }
    
    .wallet-cards-grid {
        gap: 20px;
    }
    
    .balance-card-inner {
        min-height: 190px;
        border-radius: 20px;
    }
    
    .balance-card-body {
        padding: 26px 22px;
    }
    
    .balance-amount {
        font-size: 2.4em;
    }
    
    .balance-card-title {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    
    .balance-card-icon {
        font-size: 1.6em;
    }
    
    .balance-action-btn {
        padding: 14px 20px;
        font-size: 0.9em;
    }
}

/* Extra Large Desktop */
@media (min-width: 1440px) {
    .balance-card-inner {
        min-height: 200px;
    }
    
    .balance-card-body {
        padding: 28px 24px;
    }
    
    .balance-amount {
        font-size: 2.6em;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 0;
    max-width: 500px;
    width: calc(100% - 40px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    margin: auto;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 32px 32px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 700;
    color: #1e293b;
}

.modal-close {
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 24px;
    font-weight: bold;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 24px;
}

/* Mobile Modal Responsive */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        width: calc(100% - 20px);
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 24px;
    }
    
    .modal-header {
        padding: 20px;
        border-radius: 24px 24px 0 0;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    header {
        margin-bottom: 30px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .dashboard-header .btn {
        width: 100%;
        margin: 0;
    }
    
    .dashboard-main {
        padding: 24px 20px;
        border-radius: 24px;
    }
    
    .auth-container {
        margin: 20px;
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 24px 20px;
        border-radius: 20px;
    }
    
    .auth-buttons {
        margin: 30px 0;
    }
    
    .auth-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .wallet-card,
    .exchange-card {
        padding: 20px 16px;
        border-radius: 20px;
    }
    
    .wallet-card strong {
        display: block;
        margin-bottom: 5px;
        min-width: auto;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .transaction-item {
        padding: 16px;
        border-radius: 16px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 12px;
    }
    
    .dashboard-main {
        padding: 20px 16px;
        border-radius: 20px;
    }
    
    .auth-container {
        padding: 24px 20px;
        margin: 12px;
        border-radius: 20px;
    }
    
    .wallet-card code {
        font-size: 0.75em;
        padding: 4px 8px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        min-width: auto;
    }
    
    header h1 {
        font-size: 1.6em;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 14px 24px;
    }
    
    .form-group input,
    .form-group select {
        min-height: 44px;
        font-size: 16px;
    }
    
    .transaction-item:hover {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
}

/* Deposit TRX Page Styles */
.deposit-info-item {
    margin-bottom: 20px;
}

.deposit-info-item label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.deposit-info-value {
    width: 100%;
}

/* Deposit Detail Card - Single Card Layout */
.deposit-detail-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.deposit-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.deposit-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.deposit-detail-row:first-child {
    padding-top: 0;
}

.deposit-detail-warning {
    background: #fffbeb;
    margin: 0 -24px;
    padding: 16px 24px;
    border-left: 3px solid #fbbf24;
    border-right: none;
    border-top: none;
    border-bottom: none;
}

.deposit-detail-label {
    font-size: 0.9em;
    font-weight: 600;
    color: #64748b;
    min-width: 140px;
    flex-shrink: 0;
}

.deposit-detail-warning .deposit-detail-label {
    color: #92400e;
}

.deposit-detail-value {
    font-size: 1.2em;
    font-weight: 700;
    color: #1e293b;
}

.deposit-detail-code {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    word-break: break-all;
    min-width: 0;
    flex: 1;
}

.deposit-memo-code {
    background: #fef3c7;
    border-color: #fbbf24;
    color: #78350f;
    font-weight: 700;
}

.deposit-copy-btn {
    padding: 10px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    font-weight: 600;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    height: fit-content;
}

.deposit-copy-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.deposit-detail-warning .deposit-copy-btn {
    background: #fde68a;
    border-color: #f59e0b;
    color: #92400e;
}

.deposit-detail-warning .deposit-copy-btn:hover {
    background: #fcd34d;
}

@media (max-width: 767px) {
    .deposit-detail-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .deposit-detail-label {
        min-width: auto;
    }
}

@media (min-width: 768px) {
    .detail-card {
        padding: 24px;
    }
    
    .detail-card-icon {
        font-size: 2.5em;
    }
    
    .detail-card-value {
        font-size: 1.2em;
    }
}

/* Link sebagai button */
.balance-action-btn[href] {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.balance-action-btn[href]:hover {
    text-decoration: none;
    color: inherit;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
    min-width: 280px;
    border-left: 4px solid;
}

.toast-success {
    border-left-color: #10b981;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-info {
    border-left-color: #3b82f6;
}

.toast-warning {
    border-left-color: #f59e0b;
}

.toast-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-info .toast-icon {
    color: #3b82f6;
}

.toast-warning .toast-icon {
    color: #f59e0b;
}

.toast-content {
    flex: 1;
    font-size: 0.9em;
    color: #1e293b;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.2em;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #1e293b;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOutRight 0.3s ease-in forwards;
}

/* ========================================
   NAVIGATION BAR STYLES
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.nav-scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2em;
    color: #1e293b;
    text-decoration: none;
}

.nav-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.nav-title {
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #1e293b;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nav-btn-primary {
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.4);
}

.nav-btn-secondary {
    background: transparent;
    color: #64748b;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
    color: #1e293b;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   STATS SECTION STYLES
   ======================================== */

.stats-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stat-card-icon {
    font-size: 3em;
    flex-shrink: 0;
}

.stat-card-content {
    flex: 1;
}

.stat-card-value {
    font-size: 2.2em;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #60a5fa 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-label {
    font-size: 0.95em;
    color: #64748b;
    font-weight: 500;
}

/* ========================================
   HOW IT WORKS SECTION STYLES
   ======================================== */

.how-it-works-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.step-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.step-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4em;
    font-weight: 900;
    color: rgba(96, 165, 250, 0.1);
    line-height: 1;
}

.step-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: block;
}

.step-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.step-description {
    font-size: 1em;
    color: #64748b;
    line-height: 1.7;
}

/* ========================================
   FOOTER SOCIAL LINKS
   ======================================== */

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #64748b;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: #1e293b;
}

@media (max-width: 767px) {
    .toast-container {
        top: 80px;
        right: 15px;
        left: 15px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
    }

    /* Navigation Mobile */
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 20px 20px 0;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-actions {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 0 20px 20px;
        gap: 10px;
        transform: translateY(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar.nav-open .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar.nav-open .nav-actions {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    /* Stats Mobile */
    .stats-section {
        padding: 60px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 24px;
    }

    .stat-card-value {
        font-size: 1.8em;
    }

    /* How It Works Mobile */
    .how-it-works-section {
        padding: 60px 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .step-item {
        padding: 32px 24px;
    }

    .step-number {
        font-size: 3em;
    }

    .step-icon {
        font-size: 2.5em;
    }
}
