:root {
    --background: #111827;
    --surface1: #1C253C;
    --surface2: #2E3A59;
    --text1: #F9FAFB;
    --text2: #D1D5DB;
    --text3: #9CA3AF;
    --brand-light: #A3E635;
    --brand-dark: #65A30D;
    --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text2);
    background-color: var(--background);
    background-image: radial-gradient(circle at 25% 25%, rgba(101, 163, 13, 0.1), transparent 30%),
                      radial-gradient(circle at 75% 75%, rgba(56, 189, 248, 0.1), transparent 30%);
    min-height: 100vh;
}

/* Global Typography & Buttons */
h1, h2, h3, h4 {
    color: var(--text1);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

.button-primary, .button-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.button-primary {
    background: linear-gradient(to right, var(--brand-light), var(--brand-dark));
    color: #111827;
    font-weight: 700;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(163, 230, 53, 0.2);
}

.button-secondary {
    background: var(--surface1);
    color: var(--text1);
    border: 1px solid var(--surface2);
}

.button-secondary:hover {
    background: var(--surface2);
}


/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface2);
    z-index: 1000;
}

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

.nav-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.idpx-logo-svg {
    height: 50px; /* Controls the height of the logo */
    width: auto;
    color: var(--text1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text2);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text1);
}

.nav-cta {
    background: var(--surface1);
    color: var(--text1) !important;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--surface2);
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: var(--surface2);
}

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

.github-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    background: var(--surface1);
    border: 1px solid var(--surface2);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text2);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.github-link:hover {
    background: var(--surface2);
    color: var(--text1);
}

.github-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.star-count {
    background: var(--background);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text1);
    min-width: 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 99px;
    background: var(--surface1);
    border: 1px solid var(--surface2);
    color: var(--text2);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.1rem;
    color: var(--text3);
    max-width: 550px;
    margin: 0 auto 32px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.animation-container {
    margin-top: 60px;
    height: 500px;
}

/* Sections */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 99px;
    color: var(--brand-light);
    border: 1px solid var(--brand-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text3);
    font-size: 1.1rem;
}


/* Features Section */
.features {
    padding: 80px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--surface1);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--surface2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-light);
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text3);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border-radius: 8px;
    background-color: var(--surface2);
    background-size: 24px 24px;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

#upload-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 16.5V9.75m0 0l3 3m-3-3l-3 3M6.75 19.5a4.5 4.5 0 01-1.41-8.775 5.25 5.25 0 0110.233-2.33 3 3 0 013.758 3.848A3.752 3.752 0 0118 19.5H6.75z' /%3E%3C/svg%3E%0A"); }
#process-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.25 12L18 14.25l-.25-2.25a.75.75 0 01.75-.75l2.25-.25-2.25-.25a.75.75 0 01-.75-.75L18 5.25l.25 2.25L20.5 9l-2.25.25a.75.75 0 01-.75.75z' /%3E%3C/svg%3E%0A"); }
#download-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3' /%3E%3C/svg%3E%0A"); }


/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface1);
    border-radius: 12px;
    border: 1px solid var(--surface2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text1);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text3);
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 80px 20px;
    background: var(--surface1);
    border-radius: 16px;
    margin-top: 80px;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 16px;
}

.cta-subtitle {
    color: var(--text3);
    margin-bottom: 32px;
}


/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px 20px;
    color: var(--text3);
    font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #1F2937;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Animation enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    animation: fadeInUp 0.8s ease-out;
}

.animation-container {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.features {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for SVG */
#document-flow {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Footer Styles */
.site-footer {
    text-align: center;
    padding: 5rem 0;
}

.site-footer .idpx-logo-svg {
    width: 300px;
    height: auto;
    color: var(--text1);
} 