:root {
    /* Color Palette */
    --bg-primary: #0a0c10;
    --bg-secondary: #121620;
    --bg-tertiary: #1a1f2c;
    --accent-cyan: #00B4D8;
    --accent-blue: #0170B9;
    --accent-rgb: 0, 180, 216;
    --accent-glow: rgba(var(--accent-rgb), 0.15);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --white: #ffffff;
    
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --glass-bg: rgba(10, 15, 29, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px -15px rgba(var(--accent-rgb), 0.15);
    --border-radius: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle digital grid pattern in background */
    background-image: 
        radial-gradient(var(--border) 1px, transparent 1px), 
        radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

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

/* Header */
.header {
    background-color: rgba(5, 8, 17, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.3));
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--white);
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-blue);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 10px 20px -5px rgba(1, 112, 185, 0.45);
}

.btn-primary:hover {
    background: #005a96;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(1, 112, 185, 0.6);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    background: var(--accent-cyan);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 10px 20px -5px rgba(0, 180, 216, 0.4);
}

.btn-secondary:hover {
    background: #0077b6;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 180, 216, 0.6);
}

.btn-light {
    background-color: var(--white);
    color: var(--bg-primary);
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.btn-large {
    padding: 0.95rem 2.25rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 7rem 0 8rem 0;
    overflow: hidden;
}

.hero-container-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue) 0%, rgba(255,255,255,0) 70%);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #475569 0%, rgba(255,255,255,0) 70%);
}

.hero-content {
    text-align: left;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 9999px;
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(var(--accent-rgb), 0.2));
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.25) 0%, rgba(79, 172, 254, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
}

.floating-mockup {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Features Grid */
.features-section {
    padding: 6rem 0;
    position: relative;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

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

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    padding: 3rem 2.25rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-rgb), 0.25);
    box-shadow: var(--shadow-xl);
}

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

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(var(--accent-rgb), 0.05);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    margin-bottom: 1.75rem;
    color: var(--accent-cyan);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: rgba(var(--accent-rgb), 0.15);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.25);
    color: var(--white);
}

.feature-icon-svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tiers Section */
.tiers-section {
    background-color: var(--bg-secondary);
    padding: 8rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem auto;
}

.section-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0.5rem 0 1.25rem 0;
    color: var(--white);
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Membership Card layouts */
.tier-card-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
}

.tier-card-container:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.tier-card-container.featured {
    border: 1px solid rgba(var(--accent-rgb), 0.25);
    box-shadow: 0 20px 40px rgba(var(--accent-rgb), 0.1);
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.9) 0%, rgba(18, 24, 44, 0.95) 100%);
}

.tier-popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: #050811;
    padding: 0.35rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 9999px;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.3);
}

/* Interactive Card Visual */
.tier-card {
    height: 190px;
    width: 100%;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    margin-bottom: 2.5rem;
    transition: var(--transition);
    
    /* Fintech blue-to-celeste gradient matching app balanceCard */
    background: linear-gradient(135deg, #03045e 0%, #0170B9 55%, #00B4D8 120%);
    color: #ffffff;
}

/* Shine reflection effect */
.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: 0.8s ease-in-out;
}

.tier-card-container:hover .tier-card::before {
    left: 150%;
}

.tier-card-container:hover .tier-card {
    transform: rotateY(5deg) rotateX(5deg);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5);
}

.card-chip-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-chip {
    width: 36px;
    height: 26px;
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    border: 0.8px solid rgba(0, 0, 0, 0.12);
}

.card-chip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 26' fill='none'%3E%3Crect x='3' y='3' width='30' height='20' rx='2' fill='none' stroke='rgba(0,0,0,0.22)' stroke-width='0.8'/%3E%3Cpath d='M3 13h30' stroke='rgba(0,0,0,0.22)' stroke-width='0.8'/%3E%3Cpath d='M11 3v20' stroke='rgba(0,0,0,0.22)' stroke-width='0.8'/%3E%3Cpath d='M25 3v20' stroke='rgba(0,0,0,0.22)' stroke-width='0.8'/%3E%3Crect x='11' y='8' width='14' height='10' rx='1.5' fill='none' stroke='rgba(0,0,0,0.22)' stroke-width='0.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 1;
}

.card-logo {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.8;
}

.tier-rate {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 1.5rem 0 0.5rem 0;
}

.tier-rate span {
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.8;
}

.card-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.tier-name {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
}

.tier-requirement {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.85;
}

/* Card Metallic Themes */
.tier-silver {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 50%, #475569 100%);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.tier-silver .tier-name {
    color: #0f172a;
    text-shadow: none;
}
.tier-silver .card-chip {
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
}

.tier-gold {
    background: linear-gradient(135deg, #ffe066 0%, #fbbf24 50%, #b45309 100%);
    color: #451a03;
    border: 1px solid rgba(251, 191, 36, 0.4);
}
.tier-gold .tier-name {
    color: #451a03;
    text-shadow: none;
}
.tier-gold .card-chip {
    background: linear-gradient(135deg, #fffbeb 0%, #fef08a 100%);
}

.tier-black {
    background: linear-gradient(135deg, #1e293b 0%, #0b0f19 60%, #020617 100%);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 15px 35px rgba(1, 112, 185, 0.3);
}
.tier-black .tier-name {
    color: #fbbf24;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}
.tier-black .card-chip {
    background: linear-gradient(135deg, #ffe066 0%, #fbbf24 100%);
}
.tier-black .card-logo {
    color: var(--white);
}

/* Features details below cards */
.tier-features {
    list-style: none;
    margin-top: auto;
}

.tier-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.4;
}

.tier-features li::before {
    content: "✓";
    color: var(--accent-cyan);
    font-weight: 800;
}

/* Info Section (How it works) */
.info-section {
    padding: 8rem 0;
}

.info-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 4rem 3.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.info-block .block-icon {
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.3));
}

.info-block h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.info-block p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.styled-list {
    list-style: none;
}

.styled-list li {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 2rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.styled-list li strong {
    color: var(--white);
}

.styled-list li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0 8rem 0;
}

.cta-box {
    background: linear-gradient(135deg, #121620 0%, #334155 50%, #0a0c10 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
    color: var(--text-secondary);
}

/* Terms and Conditions Layout */
.terms-main {
    padding: 6rem 0 8rem 0;
    background-color: var(--bg-primary);
}

.terms-container {
    max-width: 850px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: var(--border-radius);
    padding: 5rem 4rem;
    box-shadow: var(--shadow-md);
}

.terms-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.terms-subtitle {
    font-size: 1.15rem;
    color: var(--accent-cyan);
    text-align: center;
    font-weight: 600;
}

.divider {
    height: 1px;
    background-color: var(--border);
    width: 100%;
    margin: 3rem 0;
}

.terms-list {
    list-style: none;
    counter-reset: term-counter;
}

.terms-list > li {
    counter-increment: term-counter;
    margin-bottom: 2.5rem;
    position: relative;
    padding-left: 3.5rem;
}

.terms-list > li::before {
    content: counter(term-counter);
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 2.25rem;
    height: 2.25rem;
    background-color: rgba(var(--accent-rgb), 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.terms-list > li strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.terms-list > li p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    color: var(--text-muted);
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero-container-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .tier-card-container.featured {
        transform: scale(1);
    }
    
    .tier-card-container.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 320px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .terms-container {
        padding: 3rem 1.5rem;
    }
    
    .terms-title {
        font-size: 2.25rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
