/* ============================================
   Nuj Capital - Premium Dark Theme
   ============================================ */

:root {
    /* Color Palette - Premium Dark with Pink Accents */
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #141414;
    --color-bg-tertiary: #1a1a1a;
    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #6a6a6a;
    --color-accent-pink: #ff6b9d;
    --color-accent-pink-soft: #ff8fb3;
    --color-accent-pink-dark: #e5578a;
    --color-border: #2a2a2a;
    --color-border-light: #3a3a3a;

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;

    /* Layout */
    --max-width: 1200px;
    --border-radius: 2px;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

*,
*::before,
*::after {
    min-width: 0;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: var(--color-text-secondary);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-pink);
}

/* ============================================
   Layout Utilities
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
}

.section {
    padding: var(--spacing-xl) 0;
    width: 100%;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .section {
        padding: var(--spacing-2xl) 0;
    }
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

@media (max-width: 767px) {
    .nav-links {
        gap: var(--spacing-sm);
        font-size: 0.85rem;
    }
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-pink);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl) 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-pink);
    margin-bottom: var(--spacing-md);
}

.hero h1 {
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 767px) {
    .hero-cta {
        gap: var(--spacing-sm);
        width: 100%;
    }
}

.btn {
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }
}

.btn-primary {
    background: var(--color-accent-pink);
    color: var(--color-bg-primary);
}

.btn-primary:hover {
    background: var(--color-accent-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--color-accent-pink);
    color: var(--color-accent-pink);
}

/* ============================================
   Services Section
   ============================================ */

.services {
    background: var(--color-bg-secondary);
    position: relative;
}

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

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-pink);
    margin-bottom: var(--spacing-sm);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    width: 100%;
}

@media (max-width: 767px) {
    .services-grid {
        gap: var(--spacing-md);
    }
}

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

.service-card {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 767px) {
    .service-card {
        padding: var(--spacing-md);
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-pink), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
}

.service-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-accent-pink);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.service-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-top: var(--spacing-md);
}

.service-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-pink);
}

/* ============================================
   Track Record Section
   ============================================ */

.track-record {
    background: var(--color-bg-primary);
    position: relative;
}

.track-record-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    width: 100%;
}

@media (max-width: 767px) {
    .track-record-grid {
        gap: var(--spacing-md);
    }
}

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

.track-record-card {
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 767px) {
    .track-record-card {
        padding: var(--spacing-md);
    }
}

.track-record-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-4px);
}

.track-record-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
    font-size: 1.5rem;
}

/* Stock Chart Styling */
.chart-container {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xs);
    border-radius: var(--border-radius);
    margin: var(--spacing-md) 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.stock-chart {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

@media (max-width: 767px) {
    .chart-container {
        padding: var(--spacing-xs) 0;
    }
}

.chart-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: var(--spacing-sm);
}

/* Founder Preview Card */
.founder-preview {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    text-align: center;
}

.founder-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 2%;
    object-fit: cover;
    border: 4px solid var(--color-accent-pink);
}

.founder-preview-text {
    width: 100%;
}

.founder-preview-text h3 {
    margin-bottom: var(--spacing-xs);
}

.founder-title {
    color: var(--color-accent-pink) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm) !important;
}

.founder-preview-text p {
    line-height: 1.6;
}

/* Wisdom Card */
.wisdom-card {
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-secondary));
}

.quote-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.dimon-quote {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-md);
    border-left: 3px solid var(--color-accent-pink);
}

.dimon-quote cite {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    color: var(--color-accent-pink);
    margin-top: var(--spacing-md);
    font-weight: 600;
}

/* Humor Card */
.humor-card {
    background: var(--color-bg-tertiary);
}

.humor-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.joke {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin: var(--spacing-md) 0;
}

.joke strong {
    color: var(--color-text-primary);
}

.joke-footer {
    font-size: 0.9rem;
    color: var(--color-accent-pink);
    font-style: italic;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

/* Case Study Cards */
.case-study-card {
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-secondary));
    border: 2px solid var(--color-border);
}

.case-study-card:hover {
    border-color: var(--color-accent-pink);
}

.case-study-logo {
    width: 100%;
    max-width: 200px;
    margin: 0 auto var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-bg-primary);
    border-radius: var(--border-radius);
}

.case-study-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.case-study-image {
    width: 100%;
    height: 200px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    border-radius: var(--border-radius);
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-tagline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-accent-pink) !important;
    margin-bottom: var(--spacing-md) !important;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: var(--color-bg-primary);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent-pink);
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-study-result {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--color-bg-primary);
    border-left: 3px solid var(--color-accent-pink);
    border-radius: var(--border-radius);
}

.case-study-result strong {
    color: var(--color-accent-pink);
}

.case-study-result em {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ============================================
   About Section
   ============================================ */

.about {
    background: var(--color-bg-secondary);
}

/* Team Section */
.team-section {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--color-border);
}

.team-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 968px) {
    .team-content {
        grid-template-columns: 1fr 1fr;
    }
}

.team-text h2 {
    margin-bottom: var(--spacing-md);
}

.team-text p {
    margin-bottom: var(--spacing-md);
}

.team-quote {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    padding-left: var(--spacing-lg);
    background: var(--color-bg-tertiary);
    border-left: 3px solid var(--color-accent-pink);
    border-radius: var(--border-radius);
}

.team-quote cite {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: normal;
    color: var(--color-accent-pink);
    margin-top: var(--spacing-sm);
    font-weight: 600;
}

.team-photo {
    position: relative;
}

.team-photo img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.team-photo img:hover {
    border-color: var(--color-accent-pink);
    transform: scale(1.02);
}

.photo-caption {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
    margin-top: var(--spacing-sm);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 968px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text h2 {
    margin-bottom: var(--spacing-md);
}

.about-text p {
    margin-bottom: var(--spacing-md);
}

.about-highlight {
    background: var(--color-bg-tertiary);
    border-left: 3px solid var(--color-accent-pink);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.about-highlight p {
    color: var(--color-text-primary);
    font-style: italic;
}

.credentials {
    margin-top: var(--spacing-lg);
}

.credential-item {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.credential-label {
    font-weight: 600;
    color: var(--color-accent-pink);
    min-width: 140px;
}

@media (max-width: 767px) {
    .credential-item {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }

    .credential-label {
        min-width: auto;
    }
}

.credential-value {
    color: var(--color-text-secondary);
}

.about-image {
    position: relative;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    width: 100%;
}

@media (max-width: 767px) {
    .image-grid {
        gap: var(--spacing-sm);
    }
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-secondary));
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.image-placeholder:hover {
    border-color: var(--color-accent-pink);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

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

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

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: right;
}

@media (max-width: 767px) {
    .footer-legal {
        text-align: left;
    }
}

.footer-legal p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.disclaimer {
    font-size: 0.75rem !important;
    max-width: 500px;
    margin-left: auto;
}

@media (max-width: 767px) {
    .disclaimer {
        margin-left: 0;
    }
}

/* ============================================
   Animations & Effects
   ============================================ */

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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