/* modern_landing.css - High-Fidelity Public Homepage for DigitalGalla POS (Attractive Light Mode) */

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

:root {
    --light-bg: #f8fafc;
    --light-bg-gradient: linear-gradient(135deg, #ffffff 0%, #f1f5f9 50%, #e2e8f0 100%);
    --card-bg: rgba(255, 255, 255, 0.75);
    --brand-green: #76b82a;
    --brand-green-hover: #649e24;
    --brand-green-glow: rgba(118, 184, 42, 0.15);
    --border-color: rgba(15, 23, 42, 0.06);
    --border-hover: rgba(118, 184, 42, 0.35);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Global Reset & Scrollbar --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    background-image: var(--light-bg-gradient);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-green);
}

/* --- Background Glow Orbs --- */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
}
.orb-1 {
    top: 5%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: var(--brand-green);
}
.orb-2 {
    top: 35%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #60a5fa;
}
.orb-3 {
    bottom: 5%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: #c084fc;
}

/* --- Header / Navigation --- */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    transition: var(--transition-smooth);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(118, 184, 42, 0.15));
}

.brand-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.brand-logo-text span {
    color: var(--brand-green);
}

.nav-menu-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-item-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-item-link:hover {
    color: var(--text-primary);
}

.nav-item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-green);
    transition: var(--transition-smooth);
}

.nav-item-link:hover::after {
    width: 100%;
}

.nav-action-btn {
    text-decoration: none;
    background: rgba(118, 184, 42, 0.08);
    border: 1px solid rgba(118, 184, 42, 0.3);
    color: var(--brand-green) !important;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(118, 184, 42, 0.04);
}

.nav-action-btn:hover {
    background: var(--brand-green);
    color: #ffffff !important;
    border-color: var(--brand-green);
    box-shadow: 0 4px 20px rgba(118, 184, 42, 0.25);
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 180px 24px 100px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

.hero-grid-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-resilient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(118, 184, 42, 0.08);
    border: 1px solid rgba(118, 184, 42, 0.25);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #5a8d20;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(118, 184, 42, 0.04);
}

.badge-resilient i {
    color: var(--brand-green);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: left;
}

.hero-title span.gradient-text {
    background: linear-gradient(135deg, #a3e635 0%, var(--brand-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 500;
    text-align: left;
    max-width: 600px;
}

.hero-highlights {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.highlight-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.highlight-item:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(118, 184, 42, 0.05);
}

.highlight-item i {
    color: var(--brand-green);
}

.hero-ctas {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
}

.btn-primary-glow {
    text-decoration: none;
    background: var(--brand-green);
    color: #ffffff;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(118, 184, 42, 0.3);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-glow:hover {
    background: var(--brand-green-hover);
    box-shadow: 0 10px 25px rgba(118, 184, 42, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-secondary-outline {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.btn-secondary-outline:hover {
    border-color: var(--text-primary);
    background: #ffffff;
    transform: translateY(-2px);
    color: var(--text-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* --- Hero Mockup 3D Transform --- */
.hero-mockup-side {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-mockup-side .mockup-container {
    transform: rotateY(-8deg) rotateX(4deg) rotateZ(1deg);
    box-shadow: -15px 20px 40px rgba(15, 23, 42, 0.15);
    transition: var(--transition-smooth);
    width: 100%;
}

.hero-mockup-side:hover .mockup-container {
    transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.22);
}

/* --- App Mockup Card --- */
.mockup-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    z-index: 10;
}

.mockup-header {
    height: 40px;
    background: #f1f5f9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-close { background: #ef4444; }
.dot-minimize { background: #f59e0b; }
.dot-maximize { background: #10b981; }

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mockup-screen {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mockup-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Features Section --- */
.features-section {
    position: relative;
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--brand-green);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02), 0 1px 2px rgba(15, 23, 42, 0.01);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 0 20px rgba(118, 184, 42, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0) var(--y, 0), rgba(118, 184, 42, 0.04), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(118, 184, 42, 0.08);
    border: 1px solid rgba(118, 184, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--brand-green);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--brand-green);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(118, 184, 42, 0.3);
    transform: scale(1.05);
}

.feature-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Tech Specs Section --- */
.tech-specs-section {
    position: relative;
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    z-index: 10;
}

.specs-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.spec-column {
    flex: 1;
}

.spec-column-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.spec-column-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-pill {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.01);
}

.tech-pill i {
    color: var(--brand-green);
}

/* --- Footer --- */
.footer-custom {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 15px;
}

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

.footer-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-logo-text span {
    color: var(--brand-green);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
    .hero-section {
        padding: 140px 20px 60px;
    }
    .hero-grid-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-text-content {
        align-items: center;
    }
    .hero-title {
        font-size: 3.5rem;
        text-align: center;
    }
    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-highlights {
        justify-content: center;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-mockup-side .mockup-container {
        transform: none !important;
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08) !important;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .features-section {
        padding: 80px 20px;
    }
    .tech-specs-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .navbar-custom {
        padding: 12px 0;
    }
    .navbar-container {
        padding: 0 16px;
    }
    .brand-logo-text {
        font-size: 1.25rem;
    }
    .brand-logo-img {
        height: 32px;
    }
    .nav-menu-links {
        display: none !important; /* Hide menu links on mobile */
    }
    .nav-action-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .hero-section {
        padding: 110px 16px 50px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }
    .hero-highlights {
        gap: 8px;
        margin-bottom: 24px;
    }
    .highlight-item {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn-primary-glow, .btn-secondary-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .features-section {
        padding: 60px 16px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 24px;
    }
    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    
    .tech-specs-section {
        padding: 50px 16px;
    }
    .specs-grid {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .spec-column-title {
        font-size: 1.5rem;
    }
    .tech-pills {
        justify-content: center;
        gap: 8px;
    }
    .tech-pill {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    .footer-custom {
        padding: 30px 16px;
    }
}

@media (max-width: 480px) {
    .brand-logo-text span {
        display: none; /* Hide 'POS' text to save space on tiny screens */
    }
    .hero-title {
        font-size: 2.15rem;
        line-height: 1.15;
    }
    .section-title {
        font-size: 1.85rem;
    }
}
