:root {
    --primary-color: #BB86FC;
    --primary-variant: #3700B3;
    --secondary-color: #03DAC5;
    --background-dark: #121212;
    --surface-dark: #1E1E1E;
    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --gradient-main: linear-gradient(135deg, #BB86FC 0%, #3700B3 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--background-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Blobs */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-variant);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links li a {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary-color);
}

.download-btn {
    padding: 10px 24px !important;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(187, 134, 252, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(187, 134, 252, 0.5);
}

.btn-indus {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-indus:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(187, 134, 252, 0.1);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* standard property for compatibility */
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.screen-content {
    background: #121212;
    height: 100%;
    padding: 20px;
}

.screen-header {
    background: var(--gradient-main);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 20px;
    color: white;
}

.screen-balance h3 {
    font-size: 2rem;
    margin-top: 5px;
}

.screen-chart {
    height: 100px;
    background: linear-gradient(to right, transparent, rgba(3, 218, 197, 0.2), transparent);
    margin-bottom: 20px;
    border-radius: 10px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--surface-dark);
    margin-bottom: 10px;
    border-radius: 15px;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
}

.icon.grocery { background: #FF9800; }
.icon.salary { background: #4CAF50; }

.details {
    flex: 1;
    margin-left: 15px;
}

.details span {
    display: block;
    font-weight: 600;
}

.details small {
    color: var(--text-secondary);
}

.amount {
    font-weight: 700;
}

.amount.positive { color: #4CAF50; }
.amount.negative { color: #F44336; }

/* Features Section */
.features, .security-section, .faq-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid, .security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease;
}

.glass:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: rgba(187, 134, 252, 0.3);
}

.icon-wrapper, .security-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3, .security-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p, .security-card p {
    color: var(--text-secondary);
}

/* AI Section */
.ai-section {
    padding: 100px 0;
    background: rgba(0,0,0,0.2);
}

.ai-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.ai-features-list {
    margin-top: 30px;
}

.ai-features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-card {
    padding: 30px;
}

.chat-message {
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    max-width: 90%;
}

.chat-message.user {
    background: var(--surface-dark);
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.chat-message.ai {
    background: rgba(187, 134, 252, 0.1);
    border: 1px solid var(--primary-color);
    border-bottom-left-radius: 2px;
    display: flex;
    gap: 15px;
}

.highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* FAQ Section Styling */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-primary);
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--text-secondary);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if needed */
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    background: #000;
    border-top: 1px solid #333;
}

.footer-container {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.copyright {
    color: #555;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #121212;
        flex-direction: column;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid #333;
    }

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

    .hamburger {
        display: flex;
    }

    .hero-container, .ai-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .phone-mockup {
        margin-top: 50px;
    }

    .chat-card {
        margin-top: 30px;
    }
}
