/* ==================== RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00ff41;
    --dark-green: #00cc33;
    --neon-green: #39ff14;
    --black: #000000;
    --dark-gray: #0a0a0a;
    --medium-gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --text-gray: #a0a0a0;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVIGATION ==================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--primary-green);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 5px 20px rgba(0, 255, 65, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-green);
    cursor: pointer;
}

.logo-svg {
    width: 35px;
    height: 35px;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.logo:hover .logo-svg {
    transform: rotate(45deg);
}

.logo-icon {
    font-size: 2rem;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--primary-green);
}

.nav-cta {
    background: var(--primary-green);
    color: var(--black) !important;
    padding: 10px 20px !important;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--primary-green);
    border-radius: 50%;
    animation: float linear infinite;
    opacity: 0.3;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-green);
    font-family: 'IBM Plex Mono', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.glitch {
    position: relative;
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
    98% {
        transform: translate(2px, 2px);
    }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 300;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--black);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--black);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 65, 0.8);
    }
}

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

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

/* Hero Logo */
.hero-logo-container {
    margin-bottom: 40px;
}

.hero-logo {
    width: 200px;
    height: 200px;
    color: var(--primary-green);
    filter: drop-shadow(0 0 30px rgba(0, 255, 65, 0.6));
}

.hero-logo.rotating {
    animation: rotateHeroLogo 20s linear infinite;
}

@keyframes rotateHeroLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-gray);
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-green);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 24px;
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
}

/* ==================== SECTION STYLES ==================== */
section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-green);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-green);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 60px;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: var(--dark-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--medium-gray);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-card h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.about-content {
    background: var(--medium-gray);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--light-gray);
}

.about-text h3 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ==================== TEAM SECTION ==================== */
.team {
    background: var(--black);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-card {
    perspective: 1000px;
    height: 400px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.team-card.flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.team-card-front {
    background: var(--medium-gray);
    border: 1px solid var(--light-gray);
}

.team-card-back {
    background: var(--primary-green);
    color: var(--black);
    transform: rotateY(180deg);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid var(--primary-green);
}

.avatar-initial {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    font-family: 'IBM Plex Mono', monospace;
}

.team-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-green);
}

.team-card-back h3 {
    color: var(--black);
    margin-bottom: 20px;
}

.team-role {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 15px;
}

.team-hover-indicator {
    color: var(--primary-green);
    font-size: 0.9rem;
    margin-top: 20px;
    opacity: 0.7;
}

.team-bio {
    list-style: none;
    text-align: left;
}

.team-bio li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.team-bio li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--black);
    font-weight: 700;
}

/* New Team Grid with Photos */
.team-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.founder-card {
    background: var(--medium-gray);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.founder-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 40px rgba(0, 255, 65, 0.3);
}

.founder-photo-container {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.founder-photo {
    width: 100%;
    height: 100%;
    position: relative;
}

.photo-placeholder-home {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-gray), var(--light-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.photo-placeholder-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 255, 65, 0.05));
}

.placeholder-initial {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: 'IBM Plex Mono', monospace;
    opacity: 0.4;
    z-index: 1;
}

/* When you add real photos, use this style:
   #photo-joseph { background: url('images/joseph-finberg.jpg') center/cover; }
   Then hide .photo-placeholder-home
*/

.founder-info {
    padding: 30px;
}

.founder-info h3 {
    color: var(--primary-green);
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.founder-position {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.founder-summary {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.view-profile-btn {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.founder-card:hover .view-profile-btn {
    transform: translateX(5px);
    color: var(--neon-green);
}

/* ==================== PRICING SECTION ==================== */
.pricing {
    background: var(--dark-gray);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--medium-gray);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 10px 40px rgba(0, 255, 65, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary-green);
    background: var(--light-gray);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-green);
    color: var(--black);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
}

.currency {
    font-size: 1.5rem;
    color: var(--white);
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 5px;
}

.period {
    font-size: 1rem;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkmark {
    color: var(--primary-green);
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form {
    background: var(--medium-gray);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--light-gray);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-gray);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-green);
    background: var(--medium-gray);
    padding: 0 5px;
}

#form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

#form-status.success {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    display: block;
}

#form-status.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--medium-gray);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--primary-green);
    transform: translateX(10px);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.info-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-gray);
}

.info-card a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-card a:hover {
    color: var(--neon-green);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-gray);
    border-top: 1px solid var(--primary-green);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand .logo-icon {
    font-size: 2rem;
    color: var(--primary-green);
}

.footer-logo-svg {
    width: 50px;
    height: 50px;
    color: var(--primary-green);
}

.footer-brand .logo-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
}

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

.footer-links h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    color: var(--text-gray);
}

/* ==================== ANIMATIONS (AOS) ==================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-20deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 40px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==================== FOUNDER PROFILE PHOTOS ==================== */
#photo-joseph {
    background: url('images/Joe_Profile_Pic.jpeg') center/cover;
}

#photo-joseph .photo-placeholder-home {
    display: none;
}

#photo-ian {
    background: url('images/Hause_Profile_Pic.jpeg') center/cover;
}

#photo-ian .photo-placeholder-home {
    display: none;
}

#photo-boruch {
    background: url('images/Epstein_Profile_Pic.jpeg') center/cover;
}

#photo-boruch .photo-placeholder-home {
    display: none;
}
