/* 
   BusinessERP Landing Page Styles
   Theme: Dark, Modern, Glowing Gradients
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

:root {
    --bg-dark: #090a0f;
    --bg-card: #131620;
    --text-main: #f0f4f8;
    --text-muted: #8899aa;

    --primary-blue: #63b3ed;
    --primary-orange: #f6ad55;
    --accent-purple: #9a6dd7;
    --accent-green: #48bb78;

    --glow-blue: rgba(99, 179, 237, 0.15);
    --glow-orange: rgba(246, 173, 85, 0.15);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-strong: rgba(255, 255, 255, 0.1);
    --border-heavy: rgba(255, 255, 255, 0.2);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-light: rgba(255, 255, 255, 0.02);
    --bg-glass-hover: rgba(255, 255, 255, 0.15);
    --bg-nav: rgba(9, 10, 15, 0.8);
    --bg-mockup: #1a1d27;
    --bg-strip: rgba(0, 0, 0, 0.2);
    --toast-bg: rgba(16, 185, 129, 0.1);
    --toast-border: rgba(16, 185, 129, 0.3);
    --toast-text: #10b981;
}

:root[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary-blue: #3b82f6;
    --primary-orange: #ea580c;
    --accent-purple: #7e22ce;
    --accent-green: #16a34a;

    --border-color: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.15);
    --border-heavy: rgba(0, 0, 0, 0.25);
    --bg-glass: rgba(0, 0, 0, 0.03);
    --bg-glass-light: rgba(0, 0, 0, 0.02);
    --bg-glass-hover: rgba(0, 0, 0, 0.08);
    --bg-nav: rgba(248, 250, 252, 0.85);
    --bg-mockup: #ffffff;
    --bg-strip: rgba(0, 0, 0, 0.03);
    --toast-bg: rgba(22, 163, 74, 0.15);
    --toast-border: rgba(22, 163, 74, 0.4);
    --toast-text: #15803d;
}


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

body {
    font-family: 'Outfit', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Grid background effect */
    background-image:
        linear-gradient(var(--bg-glass) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-glass) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
}

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.nav-logo .icon {
    background: var(--primary-orange);
    color: var(--bg-dark);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-outline:hover {
    background: var(--border-color);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: var(--border-color);
    color: var(--text-main);
    border: 1px solid var(--border-strong);
}

.btn-primary:hover {
    background: var(--border-strong);
}

/* Language Toggle */
.lang-toggle {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle:hover {
    color: var(--text-main);
    border-color: var(--border-heavy);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(246, 173, 85, 0.1);
    border: 1px solid rgba(246, 173, 85, 0.3);
    color: var(--primary-orange);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero h1 .highlight {
    color: var(--primary-orange);
    display: block;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero .gst-text {
    color: var(--accent-green);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Dashboard Mockup (Right Side) */
.hero-mockup {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.mockup-window {
    background: var(--bg-mockup);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transform: rotateY(-5deg) rotateX(2deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: rotateY(-5deg) rotateX(2deg) translateY(0);
    }

    50% {
        transform: rotateY(-5deg) rotateX(2deg) translateY(-20px);
    }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red {
    background: #ef4444;
}

.mockup-dot.yellow {
    background: #f59e0b;
}

.mockup-dot.green {
    background: #10b981;
}

.mockup-title {
    margin-left: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.mockup-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.m-card {
    background: var(--bg-glass);
    padding: 16px;
    border-radius: 12px;
}

.m-card h4 {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.m-card .val {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-main);
}

.m-card .sub {
    font-size: 11px;
    color: var(--accent-green);
    margin-top: 4px;
    display: inline-block;
}

.m-card .sub.red {
    color: #ef4444;
}

.mockup-list {
    background: var(--bg-glass-light);
    border-radius: 12px;
    padding: 16px;
}

.m-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
}

.m-item:last-child {
    border: none;
    padding-bottom: 0;
}

.mockup-toast {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--toast-bg);
    border: 1px solid var(--toast-border);
    color: var(--toast-text);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    animation: toastSlide 4s infinite;
}

@keyframes toastSlide {

    0%,
    10% {
        opacity: 0;
        transform: translateY(20px);
    }

    20%,
    80% {
        opacity: 1;
        transform: translateY(0);
    }

    90%,
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Stats Strip */
.stats-strip {
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-strip);
    text-align: center;
}

.stat-val {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Features Section */
.section-header {
    text-align: center;
    margin: 100px 0 60px;
}

.section-badge {
    color: var(--primary-orange);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}

.feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.feat-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.feat-card:hover .feat-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feat-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feat-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Icons styling */
.ic-orange {
    background: rgba(246, 173, 85, 0.1);
    color: var(--primary-orange);
}

.ic-green {
    background: rgba(72, 187, 120, 0.1);
    color: var(--accent-green);
}

.ic-blue {
    background: rgba(99, 179, 237, 0.1);
    color: var(--primary-blue);
}

.ic-purple {
    background: rgba(154, 109, 215, 0.1);
    color: var(--accent-purple);
}

/* How it works */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 0 auto 100px;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border-strong);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 30%;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px var(--glow-orange);
}

.step h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.step p {
    font-size: 14px;
    color: var(--text-muted);
}

/* GST Banner */
.gst-banner {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 100px;
}

.gst-logo {
    width: 100px;
    height: 100px;
    background: var(--border-color);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-orange);
}

.gst-content {
    flex: 1;
}

.gst-content h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.gst-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.gst-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gst-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-main);
    list-style: none;
}

.gst-features li::before {
    content: '✓';
    color: var(--accent-green);
}

/* Testimonials */
.testimonials {
    margin-bottom: 100px;
}

.testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.testi-card {
    background: var(--bg-glass-light);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.testi-card p {
    font-size: 16px;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-strong);
}

.testi-info h5 {
    font-size: 14px;
}

.testi-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Final CTA */
.cta-final {
    text-align: center;
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.cta-final h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta-final h2 span {
    color: var(--primary-orange);
}

.cta-final p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 18px;
}

.cta-checks {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.cta-checks span {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-checks span::before {
    content: '✓';
    color: var(--accent-green);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.footer-logo .icon {
    background: var(--primary-orange);
    color: var(--bg-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

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

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

/* Instagram Link */
.insta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    color: #E1306C;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.insta-link:hover {
    opacity: 0.8;
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin: 0 auto;
    }

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

    .hero-mockup {
        width: 100%;
        max-width: 500px;
        margin-top: 40px;
    }

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

    .gst-banner {
        flex-direction: column;
        text-align: center;
    }

    .gst-features {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-socials {
        display: none !important;
    }

    .nav-actions {
        gap: 8px !important;
    }

    .container {
        padding: 0 16px;
    }

    .stats-strip {
        flex-direction: column;
        gap: 32px;
    }

    .steps-container {
        flex-direction: column;
        gap: 48px;
    }

    .steps-container::before {
        display: none;
    }

    .step {
        width: 100%;
    }

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

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

    .feat-card {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 16px;
        row-gap: 4px;
        padding: 16px;
    }

    .feat-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin-bottom: 0;
        width: 36px;
        height: 36px;
    }

    .feat-card h3 {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
        font-size: 15px;
    }

    .feat-card p {
        grid-column: 2;
        grid-row: 2;
        font-size: 13px;
        line-height: 1.4;
    }

    .cta-checks {
        flex-direction: column;
        gap: 12px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* ─── HAMBURGER ─── */
.hamburger {
    display: none;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.hamburger:hover {
    color: var(--text-main);
    border-color: var(--border-heavy);
}

/* ─── OVERLAY ─── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 150;
    backdrop-filter: blur(3px);
}

.nav-overlay.open {
    display: block;
}

/* ─── MOBILE NAV DRAWER ─── */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 270px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border-strong);
    z-index: 200;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mob-nav-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.mob-nav-head span {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-orange);
}

.mob-nav-close {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    padding: 13px 10px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover {
    color: var(--primary-orange);
    background: var(--bg-glass);
}

.mob-nav-register {
    margin-top: 16px !important;
    background: var(--primary-orange) !important;
    color: var(--bg-dark) !important;
    justify-content: center !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border-bottom: none !important;
}

.mob-nav-socials {
    display: flex;
    gap: 12px;
    padding: 16px 10px 4px;
    margin-top: 8px;
}

.mob-nav-socials a {
    border-bottom: none !important;
    padding: 8px !important;
    background: transparent !important;
}

/* ─── 768px FIXES ─── */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .mockup-window {
        transform: none !important;
        animation: floatMobile 6s ease-in-out infinite;
    }

    .hero-mockup {
        padding-bottom: 70px;
    }

    .mockup-toast {
        right: 0;
        left: 0;
        margin: 0 auto;
        width: fit-content;
        bottom: -10px;
    }
}

@keyframes floatMobile {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ─── 480px FIXES ─── */
@media (max-width: 480px) {
    .nav-actions .btn {
        display: none;
    }

    /* register in drawer instead */
    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero {
        padding: 100px 0 60px;
        gap: 40px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        display: flex !important;
        width: 100%;
        justify-content: center;
    }

    .stat-val {
        font-size: 28px;
    }

    .gst-content h3 {
        font-size: 24px;
    }

    .cta-final h2 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .step-num {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}