/* ============================================
   SIXNODES — Global Styles
   ============================================ */

/* --- Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
}

html:has(.page--inner) {
    scroll-snap-type: none;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #fff;
    color: #000;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea {
    font-family: inherit;
    outline: none;
}

/* ============================================
   Page Transition
   ============================================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    transform: translateY(-100%);
    will-change: transform;
}

.page-transition--entering {
    animation: slideIn 0.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.page-transition--leaving {
    animation: slideOut 0.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes slideIn {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

@keyframes slideOut {
    from { transform: translateY(0); }
    to   { transform: translateY(100%); }
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    z-index: 1000;
    transition: color 0.3s ease;
}

.navbar--inverted {
    color: #fff;
}

.navbar__logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.navbar__logo-img {
    height: 100px;
    width: auto;
    display: none;
}

.navbar__logo-img--dark {
    display: block;
}

.navbar--inverted .navbar__logo-img--dark {
    display: none;
}

.navbar--inverted .navbar__logo-img--light {
    display: block;
}

/* Fallback text logo when images fail */
.navbar__logo-text {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.navbar__links {
    display: flex;
    gap: 32px;
}

.navbar__link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    position: relative;
    transition: opacity 0.2s ease;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar__link:hover::after,
.navbar__link--active::after {
    width: 100%;
}

.navbar__link:hover {
    opacity: 0.7;
}

/* Hamburger */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1001;
}

.navbar__hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar--inverted .navbar__hamburger span {
    background: #fff;
}

.navbar__hamburger--active span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.navbar__hamburger--active span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 40px;
    gap: 24px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu--active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__link {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;
}

.mobile-menu__link:hover {
    opacity: 0.5;
}

/* ============================================
   Sections (Full Page)
   ============================================ */
.section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

/* ============================================
   Hero Section
   ============================================ */
.section--hero {
    background: #fff;
    padding: 0 40px;
}

.hero__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__slogan {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.7;
    margin-bottom: 16px;
    opacity: 0.6;
    max-width: 560px;
}

.hero__title {
    width: 95%;
    font-size: 20vw;
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: lowercase;
    white-space: nowrap;
}

.hero__six {
    font-weight: 300;
}

.hero__nodes {
    font-weight: 700;
}

/* ============================================
   Nedir Section
   ============================================ */
.section--nedir {
    background: #fff;
    padding: 0 40px;
    justify-content: center;
}

.nedir__content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.nedir__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.nedir__text p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 24px;
    opacity: 0.75;
}

/* ============================================
   Kim İçin Section
   ============================================ */
.section--kimicin {
    background: #fff;
    padding: 0 40px;
    justify-content: center;
}

.kimicin__content {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.kimicin__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

.kimicin__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.kimicin__card {
    padding: 32px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.kimicin__card-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.kimicin__card-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.7;
}

/* ============================================
   Waitlist Section
   ============================================ */
.section--waitlist {
    background: #fff;
    padding: 0 40px;
    justify-content: center;
}

.waitlist__content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.waitlist__header {
    margin-bottom: 48px;
}

.waitlist__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.waitlist__desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.6;
    max-width: 400px;
}

/* ============================================
   Forms
   ============================================ */
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form__label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    opacity: 0.5;
}

.form__input {
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 300;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    color: #000;
    transition: border-color 0.3s ease;
}

.form__input::placeholder {
    color: rgba(0, 0, 0, 0.25);
    font-weight: 300;
}

.form__input:focus {
    border-bottom-color: #000;
}

.form__textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

.form__submit {
    margin-top: 24px;
    padding: 14px 48px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    transition: background 0.3s ease, color 0.3s ease;
}

.form__submit:hover {
    background: transparent;
    color: #000;
}

.form__status {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form__status--visible {
    opacity: 1;
}

.form__status--success {
    color: #000;
}

.form__status--error {
    color: #c00;
}

/* ============================================
   Footer Section (Dark)
   ============================================ */
.section--footer {
    background: #000;
    color: #fff;
    padding: 0 40px;
    display: flex;
    align-items: flex-end;
}

.footer__content {
    width: 100%;
    padding-bottom: 40px;
}

.footer__top {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer__social {
    display: flex;
    gap: 24px;
}

.footer__social-link {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
    position: relative;
}

.footer__social-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer__social-link:hover::after {
    width: 100%;
}

.footer__social-link:hover {
    opacity: 0.6;
}

.footer__title {
    width: 95%;
    font-size: 20vw;
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: lowercase;
    white-space: nowrap;
}

.footer__six {
    font-weight: 300;
}

.footer__nodes {
    font-weight: 700;
}

.footer__copyright {
    margin-top: 24px;
    font-size: 11px;
    font-weight: 300;
    opacity: 0.3;
}

.footer__copyright a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer__copyright a:hover {
    opacity: 0.7;
}

/* ============================================
   FAQ Section
   ============================================ */
.section--faq {
    background: #fff;
    padding: 0 40px;
    justify-content: center;
}

.faq__content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.faq__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

.faq__list {
    display: flex;
    flex-direction: column;
}

.faq__item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 24px 0;
}

.faq__item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq__question {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.01em;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: opacity 0.2s ease;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 18px;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__question:hover {
    opacity: 0.6;
}

.faq__answer {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.7;
    margin-top: 16px;
    max-width: 600px;
}

/* ============================================
   Inner Pages
   ============================================ */
.inner-page {
    padding-top: 120px;
}

.inner-page__hero {
    padding: 80px 40px 60px;
}

.inner-page__label {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.08em;
    opacity: 0.5;
    margin-bottom: 12px;
}

.inner-page__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.inner-page__body {
    padding: 0 40px 80px;
}

.inner-page__text {
    max-width: 640px;
    margin: 0 auto;
}

.inner-page__text p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 24px;
    opacity: 0.75;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-layout__heading {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.contact-layout__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-layout__link {
    font-size: 14px;
    font-weight: 300;
    transition: opacity 0.2s ease;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.contact-layout__link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-layout__link:hover::after {
    width: 100%;
}

.contact-layout__link:hover {
    opacity: 0.6;
}

/* Inner page footer */
.section--footer-inner {
    min-height: 50vh;
    scroll-snap-align: none;
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Staggered delays for children */
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }

/* Hero title special animation */
.hero__title {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s,
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
}

.hero__title--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer title animation */
.footer__title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s,
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.footer__title--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Inner page title animation */
.inner-page__title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s,
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.inner-page__title--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero__title,
    .footer__title {
        font-size: 19vw;
    }

    .waitlist__title {
        font-size: 32px;
    }

    .nedir__title,
    .kimicin__title,
    .faq__title {
        font-size: 32px;
    }

    .kimicin__cards {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .kimicin__card {
        padding: 24px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }

    .navbar {
        padding: 20px 24px;
    }

    .navbar__links {
        display: none;
    }

    .navbar__hamburger {
        display: flex;
    }

    .mobile-menu {
        padding: 0 24px;
    }

    .section {
        min-height: auto;
        scroll-snap-align: none;
    }

    .section--hero {
        min-height: 100vh;
        padding: 0 24px;
    }

    .section--waitlist,
    .section--nedir,
    .section--kimicin,
    .section--faq {
        padding: 80px 24px;
    }

    .section--footer {
        padding: 80px 24px 0;
    }

    .hero__title,
    .footer__title {
        font-size: 20vw;
        width: 100%;
    }

    .hero__slogan {
        font-size: 11px;
    }

    .waitlist__title,
    .nedir__title,
    .kimicin__title,
    .faq__title {
        font-size: 28px;
    }

    .waitlist__content {
        max-width: 100%;
    }

    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .inner-page {
        padding-top: 100px;
    }

    .inner-page__hero {
        padding: 60px 24px 40px;
    }

    .inner-page__title {
        font-size: 28px;
    }

    .inner-page__body {
        padding: 0 24px 60px;
    }

    .contact-layout {
        gap: 40px;
    }

    .contact-layout__form .form__group {
        margin-bottom: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar {
        padding: 16px 20px;
    }

    .section--hero {
        padding: 0 20px;
    }

    .section--waitlist,
    .section--nedir,
    .section--kimicin,
    .section--faq {
        padding: 64px 20px;
    }

    .section--footer {
        padding: 64px 20px 0;
    }

    .hero__title,
    .footer__title {
        font-size: 21vw;
    }

    .waitlist__title,
    .nedir__title,
    .kimicin__title,
    .faq__title {
        font-size: 26px;
    }

    .inner-page__hero {
        padding: 40px 20px 32px;
    }

    .inner-page__body {
        padding: 0 20px 48px;
    }

    .mobile-menu__link {
        font-size: 28px;
    }

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