/* style.css */
:root {
    /* Color Palette */
    --bg-dark: #111A24;
    --bg-darker: #0B1017;
    --bg-card: rgba(22, 35, 50, 0.6);
    --bg-card-hover: rgba(30, 48, 68, 0.8);
    --copper: #b87a51;
    --copper-light: #d4956a;
    --copper-dark: #96603d;
    --text-main: #f8f9fa;
    --text-muted: #a0aec0;
    --border-color: rgba(184, 122, 81, 0.2);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Layout Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: var(--bg-darker);
}

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 2rem;
}

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

.flex-align {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(11, 16, 23, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #b87a51;
    background: var(--copper, #b87a51);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

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

#vanta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #d4956a;
    color: var(--copper-light, #d4956a);
}

.divider {
    width: 2px;
    height: 50px;
    background: #b87a51;
    background: var(--copper, #b87a51);
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #b87a51;
    color: var(--copper, #b87a51);
    border: 1px solid #b87a51;
    border: 1px solid var(--copper, #b87a51);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #b87a51;
    background: var(--copper, #b87a51);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.cta-button:hover {
    color: var(--bg-dark);
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Sections Global */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #d4956a;
    color: var(--copper-light, #d4956a);
    max-width: 600px;
}

/* Cards & Glassmorphism */
.card, .step-card, .tech-card, .solution-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover, .step-card:hover, .tech-card:hover, .solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-color);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Icons */
.icon-circle, .step-icon, .tech-icon, .solution-icon, .layer-icon, .pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(184, 122, 81, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #b87a51;
    color: var(--copper, #b87a51);
    transition: var(--transition);
}

.icon-circle svg, .step-icon svg, .tech-icon svg, .solution-icon svg, .layer-icon svg, .pillar-icon svg {
    width: 28px;
    height: 28px;
}

.card:hover .icon-circle, .step-card:hover .step-icon, .tech-card:hover .tech-icon, .solution-card:hover .solution-icon {
    background: #b87a51;
    background: var(--copper, #b87a51);
    color: var(--bg-dark);
}

/* Typography in Cards */
.card h3, .step-card h3, .tech-card h4, .solution-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p, .step-card p, .tech-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pillars Section */
.pillars {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 4rem;
}

.pillar-card {
    text-align: center;
    padding: 2rem 1rem;
}

.pillar-card .pillar-icon {
    margin: 0 auto 1.5rem;
}

.pillar-card h4 {
    color: #d4956a;
    color: var(--copper-light, #d4956a);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Governance Stack */
.stack-layers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.layer {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 4px solid #b87a51;
    border-left: 4px solid var(--copper, #b87a51);
    padding: 2rem;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .layer {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
}

.layer:hover {
    background: var(--bg-card-hover);
    transform: translateX(10px);
}

.layer-content {
    flex: 1;
}

.layer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #d4956a;
    color: var(--copper-light, #d4956a);
}

.layer-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.layer-list {
    list-style: none;
    flex: 1;
}

.layer-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.layer-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #b87a51;
    color: var(--copper, #b87a51);
}

.stack-footer {
    background: rgba(184, 122, 81, 0.1);
    padding: 1.5rem;
    text-align: center;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.stack-footer-dark {
    background: var(--bg-card);
    border-color: rgba(255,255,255,0.05);
}

.stack-footer-accent {
    background: #d4956a;
    background: var(--copper-light, #d4956a);
    color: var(--bg-dark);
    font-weight: 700;
}

/* Solutions */
.solution-sub {
    color: #d4956a;
    color: var(--copper-light, #d4956a);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.check-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #b87a51;
    color: var(--copper, #b87a51);
}

/* Leadership */
.founder-card {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
}

@media (min-width: 1024px) {
    .founder-card {
        flex-direction: row;
        align-items: flex-start;
    }
}

.founder-image-wrapper {
    flex: 0 0 250px;
    border: 4px solid #b87a51;
    border: 4px solid var(--copper, #b87a51);
    padding: 10px;
    position: relative;
}

.founder-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    background: var(--bg-darker);
}

.founder-info {
    flex: 1;
}

.founder-title {
    color: #d4956a;
    color: var(--copper-light, #d4956a);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.founder-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.8;
    padding-left: 1.5rem;
    border-left: 3px solid #b87a51;
    border-left: 3px solid var(--copper, #b87a51);
    margin-bottom: 2.5rem;
}

.founder-details h5 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.founder-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 6rem 0 3rem;
    background: #080c12;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #d4956a, #b87a51);
    background: linear-gradient(135deg, var(--copper-light, #d4956a), var(--copper, #b87a51));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
}

.footer-cta {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.contact-item span, .contact-item a {
    font-size: 1.1rem;
    color: var(--text-main);
}

.contact-item small {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

.disclaimer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    color: #666;
}

/* Animations & Interactivity */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in.appear, .fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .founder-card {
        padding: 2rem 1.5rem;
    }
    
    .founder-image-wrapper {
        flex: none;
        width: 200px;
        margin: 0 auto;
    }
}
