@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #FFAB00;
    --primary-hover: #FFD700;
    --bg-dark: #000000;
    --bg-card: #121212;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;
    --accent-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #FFAB00 0%, #FF8C00 100%);

    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    font-weight: 400;

    color-scheme: dark;
    color: var(--text-primary);
    background-color: var(--bg-dark);

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    font-weight: 300;
}

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

/* UI Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 171, 0, 0.3);
    color: #FFFFFF !important; /* Force text to white for debugging */
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--accent-glass);
    border-color: var(--primary);
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
}


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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    /* Removed gap: 0.5rem; to connect "Money" and "Gram" */
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    flex-grow: 1; /* Allow nav-links to take up available space */
    justify-content: flex-end; /* Align content to the right */
    align-items: center; /* Vertically center align all items */
}

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

.nav-links .back-link {
    color: var(--text-primary);
    opacity: 0.8;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    text-align: center;
}

@media (max-width: 968px) {
    .hero {
        min-height: auto; /* Revert to auto height on smaller screens */
        padding-top: 100px; /* Restore original padding for mobile */
    }
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Mockup and Image styles removed for centering */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Features Section */
.features-grid {
    margin-top: 2rem;
}

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

.feature-card {
    text-align: center;
    padding: 3.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 171, 0, 0.02);
}

.feature-icon-css {
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(255, 171, 0, 0.2), rgba(255, 171, 0, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid var(--border-glass);
}

.icon-circle {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary);
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(0deg, #000 0%, #0a0a0a 100%);
}

.cta-box {
    background: var(--gradient-main);
    padding: 5rem 2rem;
    border-radius: 48px;
    color: #000;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-dark {
    background: #000;
    color: #fff;
}

.btn-dark:hover {
    background: #222;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: block;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.copyright {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

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

    .hero-mockup {
        margin: 0 auto;
        max-width: 350px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-dark);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 2rem 0;
        border-top: 1px solid var(--border-glass);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

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

    .nav-links a {
        padding: 1.25rem 2rem;
        text-align: center;
        font-size: 1.125rem;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

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

    .hero-mockup {
        margin: 0 auto;
        max-width: 350px;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }

    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        transition: all 0.3s ease-in-out;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .cta-box {
        text-align: center;
        padding: 4rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 2.5rem;
        margin: 0 auto 1.5rem;
    }

    .cta-box p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-btns {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .nav-links {
        display: none; /* Hide nav links by default on smaller screens */
    }

    .hamburger-menu {
        display: flex; /* Show hamburger menu on smaller screens */
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-btns, .cta-btns {
        flex-direction: column;
        gap: 1.25rem;
        align-items: center;
    }

    .hero-btns .btn, .cta-btns .btn {
        width: 100%;
        margin-left: 0 !important; /* Remove margin-left if any for stacked view */
    }
}