:root {
    --primary: #FF9B26;
    --primary-dark: #e88a1a;
    --bg-dark: #000000;
    --bg-card: #121212;
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

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

/* Navbar */
header {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-right: auto;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin-right: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active::after {
    animation: expand-width 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes expand-width {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.cta-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover, .btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

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

.btn-outline:hover {
    background: var(--glass);
}

/* Secondary button now matches primary for consistency */

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

/* Hero Section */
.hero {
    padding: 8rem 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    min-height: 80vh;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: lowercase;
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
}

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

.image-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border-radius: 30px;
    border: 1px solid var(--glass);
    position: relative;
    overflow: hidden;
}

.main-card {
    height: 450px;
    width: 300px;
    margin: 0 auto;
    background: linear-gradient(135deg, #222 0%, #111 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.card-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Features */
.feature-section {
    padding: 8rem 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.feature-text h2 {
    font-size: 3rem;
    margin: 1.5rem 0;
    line-height: 1.2;
}

.badge {
    background: var(--glass);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
}

.upi-mockup,
.card-mockup {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: var(--text-main);
    border-radius: 20px;
    border: 10px solid var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 8rem 2rem;
    text-align: center;
}

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

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

.testimonial-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 30px;
    text-align: left;
    border: 1px solid var(--glass);
    transition: var(--transition);
}

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

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.user-info strong {
    display: block;
    color: var(--primary);
}

/* Footer */
footer {
    padding: 6rem 2rem 2rem;
    background: #080808;
    border-top: 1px solid var(--glass);
}

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

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links a {
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary) !important;
    transform: translateY(-3px);
    display: inline-block;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
/* Plugin Catalog Grid */
.plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    justify-content: center;
}

.plugin-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.plugin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
    z-index: 1;
}

.plugin-card:hover::before {
    left: 100%;
}

.plugin-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.plugin-img {
    position: relative;
    padding: 1.5rem;
}

.plugin-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plugin-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.plugin-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.price-row {
    margin-top: auto;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.sale-badge,
.free-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 10;
}

.sale-badge {
    background: #ff3e3e;
    color: #fff;
}

.free-badge {
    background: #4ade80;
    color: #000;
}

@media (max-width: 768px) {
    .plugin-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Page Styles */
.product-hero {
    padding: 6rem 2rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.product-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

.short-desc {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin: 2rem 0;
}

.payment-info {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass);
    margin-bottom: 3rem;
    transition: var(--transition);
}

.payment-info:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 155, 38, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.payment-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.payment-info code {
    background: #222;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    color: var(--primary);
}

.action-row {
    display: flex;
    gap: 1.5rem;
}

.preview-card {
    height: 100%;
    max-height: 480px; /* Matching the approximate height of the payment box */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border-radius: 24px;
    border: 1px solid var(--glass);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.preview-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 155, 38, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.preview-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 155, 38, 0.4);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 155, 38, 0.1);
}

/* Style for the actual product image loaded via JS */
.preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: var(--transition);
    z-index: 2;
}

.preview-card:hover img {
    transform: scale(1.1);
}

.preview-inner {
    width: 80%;
}

.preview-inner .bar {
    height: 10px;
    background: var(--glass);
    margin-bottom: 1rem;
    border-radius: 5px;
}

.preview-inner .bar.short {
    width: 60%;
}

.preview-inner .circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .action-row {
        justify-content: center;
    }
}