/* ==========================================
   VENTORY - CENTRALIZED STYLESHEET
   ========================================== */

/* CSS Variables */
:root {
    --primary-purple: #7C3AED;
    --primary-cyan: #2DD4BF;
    --dark-purple: #5B21B6;
    --light-purple: #A78BFA;
    --dark-bg: #1a1a2e;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-secondary: #e9ecef;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --border-radius-xl: 50px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-cyan);
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

nav.scroll-down {
    transform: translateY(-100%);
}

nav.scroll-up {
    transform: translateY(0);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.logo-text {
    font-size: 1.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-cyan));
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    padding: 0.85rem 2rem;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-cyan) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 50%, var(--primary-cyan) 100%);
    color: white;
    padding: 8rem 2.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(45, 212, 191, 0.15) 0%, transparent 50%);
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.header-meta {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-top: 1.5rem;
}

.header-meta span {
    margin: 0 1rem;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 900px;
    margin: -3rem auto 4rem;
    padding: 0 2.5rem;
    position: relative;
    z-index: 10;
}

.content-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    box-shadow: var(--shadow-xl);
}

/* Sections */
.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.9rem;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section h2::before {
    content: '';
    width: 5px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-cyan) 100%);
    border-radius: 3px;
    flex-shrink: 0;
}

.section h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.section ul {
    list-style: none;
    padding-left: 0;
}

.section ul li {
    padding: 0.8rem 0 0.8rem 2.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Intro Text */
.intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--bg-light);
    line-height: 1.8;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(45, 212, 191, 0.05) 100%);
    border-left: 4px solid var(--primary-purple);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-md);
    margin: 2rem 0;
}

.highlight-box p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

.highlight-box strong {
    color: var(--primary-purple);
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    margin-top: 3rem;
    text-align: center;
}

.contact-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-section p {
    margin-bottom: 1rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-cyan) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    margin: 0.5rem;
}

.contact-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    color: white;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 2.5rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-cyan);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.footer-logo {
    width: 45px;
    height: 45px;
    border-radius: 10px;
}

.footer-brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: #aaa;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-cyan);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .page-header {
        padding: 6rem 1.5rem 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .content-card {
        padding: 2.5rem 1.5rem;
    }
    
    .content-wrapper {
        padding: 0 1.5rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
        flex-wrap: wrap;
    }
    
    .section h2::before {
        height: 25px;
    }
    
    .section ul li {
        padding-left: 2rem;
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 5rem 1rem 2.5rem;
    }
    
    .content-card {
        padding: 2rem 1.25rem;
    }
    
    .header-meta {
        font-size: 0.95rem;
    }
    
    .header-meta span {
        margin: 0 0.5rem;
        display: inline-block;
    }
    
    .intro-text {
        font-size: 1.05rem;
    }
}