/* ==========================================
   NEXORASTACK - GLOBAL STYLES
   ========================================== */

:root {
    /* Colors */
    --purple-900: #1E1433;
    --purple-800: #2D1F4A;
    --purple-700: #4A3566;
    --purple-600: #6B4D8C;
    --purple-500: #8B66B3;
    --purple-400: #A67FCC;
    --purple-300: #C29FE6;
    --purple-200: #E0CAFF;
    --purple-100: #F5EFFF;
    
    --accent-pink: #FF4D8F;
    --accent-cyan: #4DD4FF;
    
    --bg-primary: #0A0511;
    --bg-secondary: #130B1F;
    --bg-card: #1A1229;
    
    --text-primary: #FFFFFF;
    --text-secondary: #D1C4E9;
    --text-muted: #9B8BB5;
    
    --border-subtle: rgba(139, 102, 179, 0.15);
    --border-medium: rgba(139, 102, 179, 0.3);
    
    /* Typography */
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;
}

/* ==========================================
   RESET & BASE
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 17px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   BACKGROUND EFFECTS
   ========================================== */

.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--purple-600), transparent);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-pink), transparent);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 5, 17, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    padding: 1.5rem 0;
}

.nav-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.brand span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-500);
    transition: width 0.3s ease;
}

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

/* ==========================================
   CONTENT WRAPPER
   ========================================== */

.content-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 77, 140, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--purple-500);
}

.btn-large {
    padding: 1.1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    padding: 180px 0 120px;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 102, 179, 0.15);
    border: 1px solid var(--border-medium);
    border-radius: 50px;
    color: var(--purple-300);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple-400), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

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

/* Hero Visual Cards */
.hero-visual {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    color: var(--text-primary);
    font-weight: 600;
    animation: slideInRight 0.8s ease-out backwards;
}

.visual-card svg {
    color: var(--purple-400);
}

.card-1 {
    animation-delay: 0.4s;
    margin-left: 40px;
}

.card-2 {
    animation-delay: 0.5s;
}

.card-3 {
    animation-delay: 0.6s;
    margin-left: 40px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */

.products-section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.product-item:hover {
    transform: translateY(-8px);
    border-color: var(--purple-500);
    box-shadow: 0 20px 60px rgba(107, 77, 140, 0.25);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.product-item h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.badge {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-testing {
    background: rgba(139, 102, 179, 0.2);
    color: var(--purple-300);
    border: 1px solid var(--purple-500);
}

.badge-soon {
    background: rgba(255, 77, 143, 0.2);
    color: var(--accent-pink);
    border: 1px solid var(--accent-pink);
}

.product-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    padding: 0.4rem 0.9rem;
    background: rgba(139, 102, 179, 0.1);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* ==========================================
   PAGE HEADER
   ========================================== */

.page-header {
    padding: 160px 0 80px;
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   ABOUT PAGE - MISSION SECTION
   ========================================== */

.mission-section {
    padding: 80px 0;
}

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

.mission-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.mission-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.mission-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--purple-400);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================
   VISION SECTION
   ========================================== */

.vision-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.vision-lead {
    font-size: 1.4rem;
    color: var(--purple-300);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.vision-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* ==========================================
   FOUNDER SECTION
   ========================================== */

.founder-section {
    padding: 100px 0;
}

.founder-header {
    text-align: center;
    margin-bottom: 4rem;
}

.founder-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
}

.founder-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--purple-500);
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 2rem;
}

.founder-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.founder-title {
    color: var(--purple-300);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.founder-bio {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--purple-400);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-pink);
    transform: translateX(4px);
}

/* ==========================================
   VALUES SECTION
   ========================================== */

.values-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.values-section h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
}

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

.value-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.value-item h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-section {
    padding: 80px 0 var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-400);
    flex-shrink: 0;
}

.method-info h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.method-info p {
    color: var(--text-secondary);
}

.contact-note {
    padding: 1.5rem;
    background: rgba(139, 102, 179, 0.1);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}

.contact-note p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple-500);
    box-shadow: 0 0 0 3px rgba(139, 102, 179, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copy {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .mission-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-section {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2,
    .mission-content h2,
    .vision-content h2,
    .founder-header h2,
    .values-section h2,
    .contact-info h2,
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .products-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-card,
    .contact-form-wrapper {
        padding: 2rem;
    }
}