:root {
    --jade: #7ebb78;
    --jade-light: #8fc699;
    --jade-dark: #23734a;
    --bg-dark: #0A0F0D;
    --bg-card: rgba(26, 35, 30, 0.7);
    --text-main: #E0E0E0;
    --text-dim: #6f6d6f;
    --jade-bg: #d1e9d0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-primary: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: 0.3s all ease;
    background: transparent;
}

header.scrolled {
    background: rgba(10, 15, 13, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

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

/* Removed .logo-icon::after as it is no longer needed */

.jade-text {
    color: var(--jade);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: 0.3s;
}

.lang-btn:hover {
    border-color: var(--jade);
    background: rgba(0, 168, 107, 0.1);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.jade-gradient {
    background: linear-gradient(90deg, var(--jade), var(--jade-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

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

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s all ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--jade);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--jade-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 209, 134, 0.3);
}

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

.btn-outline:hover {
    background: var(--jade);
    color: white;
}

/* Apps Section */
.apps-section {
    padding: 100px 0;
}

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

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

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

.app-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: 0.4s all ease;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 168, 107, 0.1);
    border-color: var(--jade);
}

.app-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 2.5rem;
    border-radius: 28px;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Parseli Icon - Using actual logo image */
.app-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* Mangala Icon */
.mangala-icon::before {
    content: '';
    width: 90px;
    height: 50px;
    background: #8d6e63;
    border-radius: 25px;
    border: 3px solid #6d4c41;
}

.mangala-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #81d4fa;
    border-radius: 50%;
    box-shadow: 20px 0 #81d4fa, -20px 0 #81d4fa, 10px 10px #81d4fa, -10px 10px #81d4fa;
    opacity: 0.8;
}

/* Puantaj Icon */
.puantaj-icon::before {
    content: '';
    width: 60px;
    height: 70px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.puantaj-icon::after {
    content: '≡';
    position: absolute;
    color: #3498db;
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
}

.app-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.app-card p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.app-badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: var(--glass);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--jade-light);
    border: 1px solid var(--glass-border);
}

.app-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s all ease;
}

.app-link:hover {
    background: var(--jade);
    border-color: var(--jade);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(126, 187, 120, 0.2);
}

.coming-soon {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
    color: #ffc107;
    cursor: default;
}

.coming-soon:hover {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.4);
    transform: none;
    box-shadow: none;
}

.app-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: #060a08;
}

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

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 10px;
    transition: 0.3s;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.features {
    margin-top: 2rem;
    list-style: none;
}

.features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.features li::before {
    content: '✓';
    color: var(--jade);
    font-weight: 800;
}

.glass-box {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-around;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--jade);
}

.stat .label {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.glass-card {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    text-align: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-content p {
    margin-bottom: 3rem;
    color: var(--text-dim);
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--jade);
    background: rgba(255, 255, 255, 0.08);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--jade);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile & Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

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

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 15, 13, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        gap: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .app-card {
        padding: 2rem 1.5rem;
    }

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

    .glass-card {
        padding: 2rem;
    }
}