/* 1. RESET & FONTS */
:root {
    --bg-color: #000000;
    --card-bg: #111111;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --accent-blue: #2997ff;
    --accent-gold: #D4AF37;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* 2. NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 52px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    width: 100%;
    max-width: 980px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-size: 13px;
    color: #cccccc;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.hamburger {
    display: none;
}

.btn-cta {
    background: white;
    color: black !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px !important;
}

/* 3. HERO */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
}

.eyebrow {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.headline {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.gradient-text {
    background: linear-gradient(90deg, #b0acff, #ffffff, #888888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-headline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    padding: 14px 35px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background: #0077ed;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(41, 151, 255, 0.4);
}

.btn-link {
    color: var(--accent-blue);
    margin-left: 20px;
    font-size: 1rem;
    font-weight: 500;
}

.gradient-text-gold {
    background: linear-gradient(90deg, #fff, #D4AF37, #fff);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 3s linear infinite;
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}

/* 4. BENTO */
.bento-section {
    padding: 100px 0;
    background: #000;
}

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

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -1.5px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(280px, auto));
    gap: 24px;
}

.bento-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.3s;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.large {
    grid-column: span 2;
}

.tall {
    grid-row: span 2;
}

.card-content {
    z-index: 2;
    margin-bottom: 20px;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.card-image-fill {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-top: auto;
    mask-image: linear-gradient(to top, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 80%, transparent 100%);
}

.tall .card-image-fill {
    height: 100%;
    max-height: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.6;
    mask-image: none;
}

.card-icon {
    margin-top: auto;
}

.card-icon img {
    width: 40px;
    height: 40px;
    opacity: 0.8;
}

/* 5. ABOUT */
.about-premium {
    padding: 120px 0;
    background: #050505;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(300px, auto));
    gap: 24px;
}

.about-card {
    background: #111;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.about-card:hover {
    border-color: rgba(41, 151, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.duo-card {
    grid-column: span 1;
    grid-row: span 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.duo-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s ease;
}

.about-card:hover .duo-image-bg {
    transform: scale(1.05);
}

.duo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000 10%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 2;
}

.duo-content {
    position: relative;
    z-index: 3;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.duo-content h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.duo-content p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.stat-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(145deg, #111, #161616);
}

.stat-content {
    z-index: 2;
}

.big-number {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(to bottom right, #fff, #888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plus {
    font-size: 3rem;
    color: var(--accent-blue);
    -webkit-text-fill-color: var(--accent-blue);
    margin-left: 5px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 5px;
}

.stat-sub {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

.philosophy-card {
    grid-column: span 2;
    padding: 40px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
}

.philosophy-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.philosophy-card p {
    font-size: 1.1rem;
    color: #aaa;
    max-width: 80%;
}

.philosophy-card strong {
    color: var(--accent-blue);
}

/* 6. WORK */
.showcase {
    padding: 100px 0;
    background: #000000;
}

.project-card {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-info {
    flex: 1;
    z-index: 2;
}

.tag {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.project-info h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.project-image-fill {
    flex: 1;
    width: 50%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
}

.link-arrow {
    color: var(--accent-blue);
    font-weight: 600;
}

.btn-text {
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

/* 7. FAQ */
.faq-section {
    padding: 100px 0;
    background: #050505;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #333;
}

.faq-item {
    border-bottom: 1px solid #333;
}

.faq-question {
    background: none;
    border: none;
    color: var(--text-primary);
    width: 100%;
    text-align: left;
    padding: 25px 0;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    padding-bottom: 25px;
    padding-right: 20px;
}

.icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .icon {
    transform: rotate(45deg);
    color: var(--text-primary);
}

/* 8. MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #161617;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: 0.3s;
}

.close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.modal-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-tag {
    color: var(--text-secondary);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.modal-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 700;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.strategy-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.strategy-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

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

.strategy-list li {
    font-size: 0.9rem;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.modal-cta {
    align-self: flex-start;
}

/* MODAL MEDIA */
.modal-visual {
    padding: 0 !important;
    height: 100%;
    min-height: 500px;
    background: #000;
}

.modal-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

/* 9. FOOTER & MOBILE */
.footer-cta {
    text-align: center;
    padding: 100px 0 50px;
}

.footer-cta h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.footer-cta p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.footer-bottom {
    margin-top: 80px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #555;
}

@media (max-width: 768px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn-link {
        margin-left: 0;
        white-space: nowrap;
    }

    .headline {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .bento-section,
    .about-premium,
    .showcase,
    .faq-section {
        padding: 60px 0;
    }

    .bento-grid,
    .about-grid,
    .modal-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .large,
    .tall,
    .duo-card,
    .philosophy-card {
        grid-column: span 1;
    }

    .project-card {
        flex-direction: column;
        padding: 30px;
    }

    .project-image-fill {
        width: 100%;
        height: 200px;
        margin-top: 20px;
    }

    /* Mobile Nav */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1002;
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: white;
        transition: all 0.3s ease-in-out;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        justify-content: center;
        z-index: 1001;
        display: flex;
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.active {
        left: 0;
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links li a {
        font-size: 1.8rem;
    }

    .tall .card-image-fill {
        position: relative;
        height: 200px;
        opacity: 1;
        border-radius: 20px;
        margin-top: 20px;
    }

    .duo-card {
        min-height: 350px;
    }

    .modal-visual {
        min-height: 250px;
    }

    .modal-media {
        border-radius: 20px 20px 0 0;
    }

    .modal-info {
        padding: 30px;
    }

    .modal-content {
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

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

.modal-overlay.hidden {
    display: none;
}

/* =========================================
   PREMIUM GHOST BUTTON (PORTFOLIO)
   ========================================= */
.btn-ghost {
    background: transparent;
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.05);
}
