:root {
    --bg-color: #050b14;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.2);
    --negative: #ef4444;
    --positive: #10b981;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: var(--text-primary);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.w-100 {
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glasscard General Class */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.highlight {
    background: linear-gradient(135deg, #34d399, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

/* Page Headers (for subpages) */
.page-header {
    padding: 160px 0 80px;
    position: relative;
    background: radial-gradient(circle at 50% 100%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.primary-btn {
    background: var(--text-primary);
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.secondary-btn:hover {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Index */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-wrapper {
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

/* App Mockup Animation */
.app-mockup {
    width: 300px;
    height: 600px;
    margin: 0 auto;
    border: 8px solid #1a2235;
    border-radius: 40px;
    padding: 20px;
    position: relative;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.mockup-notch {
    width: 120px;
    height: 25px;
    background: #1a2235;
    border-radius: 0 0 15px 15px;
    margin: -20px auto 20px;
}

.mockup-content h3 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
}

.mockup-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    margin-top: 0.2rem;
}

.mockup-chart {
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1) 50%, transparent);
    border-bottom: 2px dashed var(--accent);
    margin-bottom: 2rem;
    position: relative;
}

.mockup-chart::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20%;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.mockup-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.mockup-item .icon {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 8px;
    margin-right: 12px;
}

.amount {
    margin-left: auto;
    font-weight: 600;
}

.negative {
    color: var(--text-primary);
}

.positive {
    color: var(--positive);
}


/* Intro Steps Grid */
.quick-intro {
    padding: 100px 0;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    padding: 3rem 2rem;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;
}

.step-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.step-card p {
    color: var(--text-secondary);
}

/* Banner */
.highlight-section {
    padding: 100px 0;
    background: linear-gradient(0deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
    border-top: 1px solid var(--card-border);
}


/* Features Page Specifics */
.features-list {
    padding: 40px 0 100px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 100px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-text .icon {
    font-size: 2.8rem;
}

.feature-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-visual {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
}

.notification-mockup {
    width: 350px;
    padding: 2rem;
}

.notif {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.arrow-down {
    text-align: center;
    color: var(--accent);
    font-size: 2rem;
    margin: 10px 0;
}

.parsed {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--accent);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.parsed .cat {
    color: var(--accent);
}

.chart-illustration {
    width: 350px;
    height: 250px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    padding: 2rem;
}

.bar {
    flex: 1;
    background: var(--text-secondary);
    border-radius: 6px 6px 0 0;
    opacity: 0.5;
    transition: var(--transition);
}

.bar-1 {
    height: 40%;
}

.bar-2 {
    height: 80%;
    background: var(--accent);
    opacity: 1;
}

.bar-3 {
    height: 50%;
}

.bar-4 {
    height: 90%;
}

.bar-5 {
    height: 30%;
}

.accounts-mockup {
    width: 350px;
    padding: 2rem;
}

.account-pill {
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
}

.checking {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.savings {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.credit {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}


/* Privacy Page */
.privacy-container {
    padding-bottom: 100px;
}

.privacy-content {
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
}

.privacy-content h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.8rem;
}

.privacy-content p,
.privacy-content li {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.privacy-content ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.8rem;
}

.highlight-info {
    display: flex;
    gap: 15px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid var(--accent-glow);
    padding: 20px;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.highlight-info .icon {
    font-size: 1.5rem;
}

.highlight-info p {
    margin: 0;
    color: var(--text-primary);
}


/* Contact Page */
.contact-container {
    padding-bottom: 100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info,
.contact-form {
    padding: 3rem;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-block {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    align-items: center;
}

.info-block .icon {
    font-size: 2rem;
}

.info-block h3 {
    font-size: 1.1rem;
}

.info-block p {
    color: var(--text-secondary);
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
}

.form-success {
    display: none;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
}


/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 60px 0 30px;
    background: rgba(255, 255, 255, 0.01);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}


/* Responsive Design */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text-wrapper {
        order: -1;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-bg-glow {
        top: 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .feature-text h2 {
        justify-content: center;
    }

    .feature-visual {
        min-width: 100%;
    }

    .nav-links {
        display: none;
    }

    .privacy-content {
        padding: 2rem 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Animations Trigger Classes */
.animated-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.animated-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.animated-fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: 0.8s ease-out;
}

.animated-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animated-fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: 0.8s ease-out;
}

.animated-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}