/* =============================================
   Digital Card Pro - Modern Fintech Theme
   Blue & Purple Gradient with Glassmorphism
   ============================================= */

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

:root {
    --blue: #1a73e8;
    --blue-dark: #0d47a1;
    --blue-light: #4fc3f7;
    --purple: #7c3aed;
    --purple-dark: #4c1d95;
    --purple-light: #a78bfa;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --dark-3: #334155;
    --slate: #64748b;
    --white: #ffffff;
    --bg: #f8fafc;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.site-wrapper {
    overflow-x: hidden;
}

/* --- Typography --- */
.gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Glassmorphism --- */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* --- Navigation --- */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--blue);
    margin-right: 4px;
}

.logo span {
    color: var(--purple);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--slate);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    padding: 0.6rem 1.6rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.35);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    gap: 3rem;
    position: relative;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(26, 115, 232, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(79, 195, 247, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(26, 115, 232, 0.08);
    color: var(--blue);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--slate);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--slate);
    border: 1.5px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(26, 115, 232, 0.04);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 1.5px solid rgba(26, 115, 232, 0.2);
}

.btn-outline:hover {
    border-color: var(--blue);
    background: rgba(26, 115, 232, 0.05);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1rem;
}

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

/* --- Floating Cards in Hero --- */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.floating-card {
    width: 280px;
    height: 170px;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-1 {
    background: linear-gradient(135deg, #1a73e8, #7c3aed);
    z-index: 2;
    transform: rotate(-8deg) translateY(-20px);
    animation: floatCard1 6s ease-in-out infinite;
}

.card-2 {
    background: linear-gradient(135deg, #0d47a1, #4c1d95);
    z-index: 1;
    transform: rotate(5deg) translateY(30px) translateX(-30px);
    animation: floatCard2 6s ease-in-out infinite;
}

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

@keyframes floatCard2 {
    0%, 100% { transform: rotate(5deg) translateY(30px) translateX(-30px); }
    50% { transform: rotate(5deg) translateY(10px) translateX(-30px); }
}

.fc-chip {
    width: 30px;
    height: 22px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-radius: 3px;
}

.fc-number {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

.fc-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

/* --- Sections Common --- */
section {
    padding: 5rem 2rem;
}

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

.section-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(26, 115, 232, 0.08);
    color: var(--blue);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.section-header p {
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Features Section --- */
.features-section {
    background: var(--bg);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.6;
}

/* --- Pricing Section --- */
.pricing-section {
    background: var(--bg);
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
}

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

.pricing-card.featured {
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(135deg, var(--blue), var(--purple)) border-box;
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.12);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
}

.pricing-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 1.5rem;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    vertical-align: top;
    color: var(--slate);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -2px;
}

.period {
    font-size: 0.9rem;
    color: var(--slate);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--dark-2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--blue);
    font-weight: 700;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    text-align: center;
}

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

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-content .btn-primary {
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.4);
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    text-align: center;
    padding: 5rem 2rem 3.5rem;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(26, 115, 232, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    position: relative;
}

/* --- Legal Content --- */
.page-content {
    background: var(--bg);
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-card {
    padding: 3rem;
    border-radius: 20px;
}

.legal-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2rem 0 0.8rem;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 1.5rem 0 0.6rem;
}

.legal-card p {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.disclaimer-box {
    background: rgba(26, 115, 232, 0.03);
    border-left: 3px solid var(--blue);
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.disclaimer-box ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.disclaimer-box li {
    font-size: 0.88rem;
    color: var(--slate);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* --- Contact Page --- */
.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-card-info {
    padding: 2.5rem;
    border-radius: 20px;
}

.contact-card-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.contact-card-info > p {
    color: var(--slate);
    margin-bottom: 2rem;
}

.contact-channel {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.channel-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 115, 232, 0.08);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-channel h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.contact-channel p {
    font-size: 0.88rem;
    color: var(--slate);
}

.contact-channel span {
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 500;
}

/* --- Form --- */
.contact-form {
    padding: 2.5rem;
    border-radius: 20px;
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: white;
    font-family: var(--font);
    font-size: 0.88rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.checkbox-group {
    margin: 1.2rem 0;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--blue);
    border-radius: 4px;
}

.checkbox-text {
    font-size: 0.82rem !important;
    color: var(--slate) !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(26, 115, 232, 0.2);
    color: var(--blue-light);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--blue-light);
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom p:first-child {
    background: linear-gradient(90deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 4rem 2rem 2rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: 300px;
    }

    .floating-card {
        width: 240px;
        height: 150px;
        padding: 1rem;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        padding: 1rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 3rem 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}
