/* ===================================
   Narx.io Landing Page Styles
   Plain HTML/CSS Version
   =================================== */

/* ===================================
   1. CSS Variables
   =================================== */
:root {
    /* Narx.io Brand Colors */
    --color-bg-dark: #0a0118;
    --color-bg-darker: #050011;
    --color-bg-card: #1a0f2e;
    --color-foreground: #f5f3ff;
    
    --color-purple-primary: #9333ea;
    --color-purple-light: #a855f7;
    --color-purple-dark: #6b21a8;
    --color-purple-50: rgba(147, 51, 234, 0.05);
    --color-purple-100: rgba(147, 51, 234, 0.1);
    --color-purple-200: rgba(147, 51, 234, 0.2);
    --color-purple-300: rgba(147, 51, 234, 0.3);
    
    --color-gold: #d97706;
    --color-gold-light: #fbbf24;
    --color-amber: #fde047;
    
    --color-green-400: #34d399;
    --color-green-500: #10b981;
    --color-emerald-400: #34d399;
    --color-emerald-500: #10b981;
    
    --color-violet-500: #8b5cf6;
    --color-violet-600: #7c3aed;
    --color-fuchsia-600: #c026d3;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-purple: 0 10px 40px rgba(147, 51, 234, 0.6);
    --shadow-amber: 0 10px 40px rgba(217, 119, 6, 0.6);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* ===================================
   2. Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(to bottom, var(--color-bg-dark), var(--color-bg-card), var(--color-bg-dark));
    color: var(--color-foreground);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 640px) {
    .container,
    .container-wide {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .container,
    .container-wide {
        padding: 0 var(--spacing-xl);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   3. Animation Utilities
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 10px 40px rgba(147, 51, 234, 0.6));
    }
    50% {
        filter: drop-shadow(0 10px 60px rgba(217, 119, 6, 0.6));
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.7s both;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   4. Hero Section
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.hero-svg {
    width: 100%;
    height: 100%;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(147, 51, 234, 0.2),
        transparent,
        rgba(217, 119, 6, 0.1)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
}

.hero-logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-logo-wrapper {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow 4s ease-in-out infinite;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 640px) {
    .hero-logo-wrapper {
        width: 112px;
        height: 112px;
    }
}

@media (min-width: 768px) {
    .hero-logo-wrapper {
        width: 128px;
        height: 128px;
    }
}

.hero-title {
    font-size: 3.75rem;
    background: linear-gradient(to right, #c4b5fd, #ddd6fe, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-tagline {
    font-size: 1.875rem;
    color: rgba(251, 191, 36, 0.9);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 640px) {
    .hero-tagline {
        font-size: 2.25rem;
    }
}

@media (min-width: 768px) {
    .hero-tagline {
        font-size: 3rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(233, 213, 255, 0.8);
    max-width: 48rem;
    margin: 0 auto var(--spacing-3xl);
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

/* ===================================
   5. Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(to right, #7c3aed, #6d28d9);
    color: white;
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(to right, #6d28d9, #5b21b6);
    box-shadow: 0 15px 35px rgba(147, 51, 234, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(217, 119, 6, 0.5);
    color: #fbbf24;
    background: transparent;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.2);
}

.btn-outline:hover {
    background: rgba(217, 119, 6, 0.1);
    color: #fde047;
    border-color: rgba(217, 119, 6, 0.7);
    box-shadow: 0 15px 35px rgba(217, 119, 6, 0.3);
    transform: translateY(-2px);
}

/* ===================================
   6. About Section
   =================================== */
.about-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.section-decoration {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(147, 51, 234, 0.1),
        transparent
    );
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(to right, #ddd6fe, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 3rem;
    }
}

.about-content {
    max-width: 48rem;
    margin: 0 auto;
}

.about-text {
    font-size: 1.125rem;
    color: rgba(233, 213, 255, 0.7);
    margin-bottom: var(--spacing-sm);
    line-height: 1.75;
}

@media (min-width: 640px) {
    .about-text {
        font-size: 1.25rem;
    }
}

.about-text-small {
    font-size: 1rem;
    color: rgba(216, 180, 254, 0.6);
    font-style: italic;
    line-height: 1.75;
}

@media (min-width: 640px) {
    .about-text-small {
        font-size: 1.125rem;
    }
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-2xl);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        gap: var(--spacing-3xl);
    }
}

.value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-icon-wrapper {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.value-icon {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2xl);
    transition: all var(--transition-base);
    cursor: pointer;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon-growth {
    background: linear-gradient(to bottom right, #10b981, #059669);
}

.value-icon-intelligence {
    background: linear-gradient(to bottom right, #8b5cf6, #7c3aed);
}

.value-icon-experience {
    background: linear-gradient(to bottom right, #f59e0b, #d97706);
}

.value-icon svg {
    color: white;
}

.value-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    filter: blur(40px);
    transition: opacity var(--transition-base);
}

.value-card:hover .value-glow {
    opacity: 0.5;
}

.value-glow-growth {
    background: linear-gradient(to bottom right, #10b981, #059669);
}

.value-glow-intelligence {
    background: linear-gradient(to bottom right, #8b5cf6, #7c3aed);
}

.value-glow-experience {
    background: linear-gradient(to bottom right, #f59e0b, #d97706);
}

.value-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: #e9d5ff;
}

.value-description {
    color: rgba(216, 180, 254, 0.7);
}

/* ===================================
   7. Seeds Section
   =================================== */
.seeds-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.seeds-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(147, 51, 234, 0.2),
        transparent,
        rgba(217, 119, 6, 0.1)
    );
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(233, 213, 255, 0.7);
    max-width: 42rem;
    margin: 0 auto;
}

.seeds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .seeds-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .seeds-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.seed-card {
    background: linear-gradient(
        to bottom right,
        rgba(88, 28, 135, 0.5),
        rgba(76, 29, 149, 0.3)
    );
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    backdrop-filter: blur(12px);
}

.seed-card:hover {
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 20px 50px rgba(147, 51, 234, 0.2);
    transform: translateY(-4px);
}

.seed-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.seed-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-base);
}

.seed-card:hover .seed-icon {
    transform: scale(1.1) rotate(5deg);
}

.seed-icon-narxai {
    background: linear-gradient(to bottom right, #8b5cf6, #7c3aed);
    padding: 8px;
}

.seed-icon-nraxevents {
    background: white;
    padding: 12px;
}

.seed-icon-onticket {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.seed-icon-onticket .seed-logo {
    border-radius: var(--radius-xl);
}

.seed-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.seed-info {
    flex: 1;
}

.seed-title {
    font-size: 1.5rem;
    color: #e9d5ff;
    margin-bottom: 0.25rem;
    transition: color var(--transition-base);
}

.seed-card:hover .seed-title {
    color: white;
}

.seed-tagline {
    font-size: 0.875rem;
    color: rgba(251, 191, 36, 0.8);
}

.seed-content {
    flex: 1;
    margin-bottom: var(--spacing-sm);
}

.seed-description {
    color: rgba(233, 213, 255, 0.7);
}

.seed-footer {
    padding-top: var(--spacing-sm);
}

.seed-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem;
    color: #ddd6fe;
    background: transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.seed-link:hover {
    color: #e9d5ff;
    background: rgba(147, 51, 234, 0.2);
}

.seed-link-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.seed-link-disabled:hover {
    background: transparent;
    color: #ddd6fe;
}

.seed-arrow {
    transition: transform var(--transition-base);
}

.seed-link:hover .seed-arrow {
    transform: translateX(4px);
}

/* ===================================
   8. Philosophy Section
   =================================== */
.philosophy-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.philosophy-decorations {
    position: absolute;
    inset: 0;
}

.philosophy-glow {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 50%;
    filter: blur(80px);
}

.philosophy-glow-left {
    top: 25%;
    left: 25%;
    background: rgba(147, 51, 234, 0.2);
}

.philosophy-glow-right {
    bottom: 25%;
    right: 25%;
    background: rgba(217, 119, 6, 0.2);
}

.philosophy-card {
    position: relative;
    background: linear-gradient(
        to bottom right,
        rgba(76, 29, 149, 0.4),
        rgba(88, 28, 135, 0.4)
    );
    backdrop-filter: blur(24px);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl);
    box-shadow: var(--shadow-2xl);
    max-width: 64rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .philosophy-card {
        padding: var(--spacing-2xl);
    }
}

.quote-icon-wrapper {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: center;
}

.quote-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.5);
}

.quote-icon svg {
    color: white;
}

.philosophy-quote {
    font-size: 1.5rem;
    text-align: center;
    color: #e9d5ff;
    line-height: 1.5;
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 640px) {
    .philosophy-quote {
        font-size: 1.875rem;
    }
}

@media (min-width: 768px) {
    .philosophy-quote {
        font-size: 2.25rem;
    }
}

.philosophy-story {
    text-align: center;
    color: rgba(233, 213, 255, 0.7);
    line-height: 1.75;
    margin-bottom: var(--spacing-lg);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-story p {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

@media (min-width: 640px) {
    .philosophy-story p {
        font-size: 1.125rem;
    }
}

.philosophy-story-emphasis {
    color: rgba(216, 180, 254, 0.6);
    font-style: italic;
}

.philosophy-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.attribution-line {
    height: 1px;
    width: 48px;
}

.attribution-line-left {
    background: linear-gradient(to right, transparent, #f59e0b);
}

.attribution-line-right {
    background: linear-gradient(to left, transparent, #f59e0b);
}

.attribution-name {
    color: rgba(251, 191, 36, 0.8);
    font-size: 1.125rem;
    font-style: normal;
}

.philosophy-circle {
    position: absolute;
    width: 96px;
    height: 96px;
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.philosophy-circle-top-left {
    top: -24px;
    left: -24px;
}

.philosophy-circle-bottom-right {
    bottom: -24px;
    right: -24px;
    width: 128px;
    height: 128px;
    border-color: rgba(217, 119, 6, 0.3);
    animation-delay: 2s;
}

/* ===================================
   9. Footer Section
   =================================== */
.footer-section {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(88, 28, 135, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column {
    position: relative;
    z-index: 10;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand-name {
    font-size: 1.5rem;
    background: linear-gradient(to right, #ddd6fe, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand-text {
    font-size: 0.875rem;
    color: rgba(233, 213, 255, 0.6);
    line-height: 1.5;
}

.footer-heading {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: #e9d5ff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: rgba(233, 213, 255, 0.7);
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: #e9d5ff;
}

.footer-icon {
    color: #f59e0b;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.footer-link:hover .footer-icon {
    transform: scale(1.1);
}

.footer-location {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    color: rgba(233, 213, 255, 0.7);
}

.footer-address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-separator {
    height: 1px;
    background: rgba(147, 51, 234, 0.2);
    margin-bottom: var(--spacing-lg);
}

.footer-bottom {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copyright {
    color: rgba(216, 180, 254, 0.6);
    font-size: 0.875rem;
}

.footer-watermark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(192, 132, 252, 0.4);
    animation: pulse 3s ease-in-out infinite;
}

.footer-watermark-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    opacity: 0.4;
}

.footer-watermark-text {
    font-size: 0.75rem;
}

/* ===================================
   10. Responsive Utilities
   =================================== */
@media (max-width: 640px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }
}

/* ===================================
   11. Print Styles
   =================================== */
@media print {
    .hero-background,
    .hero-gradient,
    .section-decoration,
    .seeds-background,
    .philosophy-decorations,
    .footer-background,
    .philosophy-circle {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}