/* ============================================================
   LOGGY — Landing Page Styles
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Oxygen, Ubuntu, sans-serif;
    color: #e4e4e7;
    background: #09090b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ---------- UTILITIES ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #00ccff 0%, #7b61ff 50%, #ff6ec7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #00ccff;
    background: rgba(0, 204, 255, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: #fafafa;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: #a1a1aa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    white-space: nowrap;
}

.btn--sm {
    padding: 10px 22px;
    font-size: 14px;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
    padding: 14px 28px;
    font-size: 15px;
}

.btn--primary {
    background: linear-gradient(135deg, #00ccff, #7b61ff);
    color: #fff;
    box-shadow: 0 4px 24px rgba(0, 204, 255, 0.25);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 204, 255, 0.35);
}

.btn--outline {
    background: transparent;
    color: #e4e4e7;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.btn--outline:hover {
    border-color: #00ccff;
    color: #00ccff;
    transform: translateY(-2px);
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #fafafa;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar__links a {
    font-size: 15px;
    font-weight: 500;
    color: #a1a1aa;
    transition: color 0.2s;
}

.navbar__links a:hover {
    color: #00ccff;
}

.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar__hamburger span {
    width: 24px;
    height: 2px;
    background: #e4e4e7;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero__bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
            rgba(0, 204, 255, 0.12) 0%,
            rgba(123, 97, 255, 0.08) 40%,
            transparent 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #00ccff;
    background: rgba(0, 204, 255, 0.08);
    border: 1px solid rgba(0, 204, 255, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease;
}

.hero__title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    color: #fafafa;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #a1a1aa;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero__stat {
    text-align: center;
}

.hero__stat strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fafafa;
}

.hero__stat span {
    font-size: 14px;
    color: #71717a;
    font-weight: 500;
}

/* ---------- FEATURES ---------- */
.features {
    padding: 120px 0;
    position: relative;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 204, 255, 0.2);
    transform: translateY(-4px);
}

.feature-card__icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 10px;
}

.feature-card__desc {
    font-size: 15px;
    color: #a1a1aa;
    line-height: 1.6;
}

/* ---------- TEMPLATES GALLERY ---------- */
.templates {
    padding: 120px 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(0, 204, 255, 0.02) 50%,
            transparent 100%);
}

.templates__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.template-card {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.template-card:hover {
    border-color: rgba(0, 204, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.template-card__preview {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #18181b;
}

.template-card__preview iframe {
    width: 200%;
    height: 200%;
    border: none;
    transform: scale(0.5);
    transform-origin: top left;
    pointer-events: none;
}

.template-card__info {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.template-card__info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fafafa;
}

.template-card__tags {
    display: flex;
    gap: 8px;
}

.tag {
    font-size: 12px;
    font-weight: 500;
    color: #71717a;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 100px;
}

/* ---------- WHAT'S INCLUDED ---------- */
.included {
    padding: 120px 0;
}

.included__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.included__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.included__item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 204, 255, 0.15);
}

.included__icon {
    font-size: 32px;
    flex-shrink: 0;
}

.included__item strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 4px;
}

.included__item p {
    font-size: 14px;
    color: #a1a1aa;
    line-height: 1.5;
}

/* ---------- PRICING ---------- */
.pricing {
    padding: 120px 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(123, 97, 255, 0.03) 50%,
            transparent 100%);
}

.pricing__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 820px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card--featured {
    background: linear-gradient(135deg,
            rgba(0, 204, 255, 0.08) 0%,
            rgba(123, 97, 255, 0.08) 100%);
    border-color: rgba(0, 204, 255, 0.3);
    box-shadow: 0 0 60px rgba(0, 204, 255, 0.1);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00ccff, #7b61ff);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-card__header {
    margin-bottom: 32px;
}

.pricing-card__name {
    font-size: 20px;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 16px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.pricing-card__amount {
    font-size: 48px;
    font-weight: 900;
    color: #fafafa;
}

.pricing-card__period {
    font-size: 15px;
    color: #71717a;
    font-weight: 500;
}

.pricing-card__desc {
    font-size: 15px;
    color: #a1a1aa;
}

.pricing-card__features {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-card__features li {
    font-size: 15px;
    color: #d4d4d8;
}

.pricing-card__feature--disabled {
    color: #52525b !important;
}

/* ---------- FAQ ---------- */
.faq {
    padding: 120px 0;
}

.faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq__item:hover {
    border-color: rgba(0, 204, 255, 0.15);
}

.faq__item[open] {
    border-color: rgba(0, 204, 255, 0.2);
}

.faq__question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fafafa;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: #00ccff;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq__item[open] .faq__question::after {
    content: "−";
}

.faq__answer {
    padding: 0 24px 20px;
    font-size: 15px;
    color: #a1a1aa;
    line-height: 1.7;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: 120px 0;
}

.cta-section__inner {
    text-align: center;
    background: linear-gradient(135deg,
            rgba(0, 204, 255, 0.08) 0%,
            rgba(123, 97, 255, 0.08) 50%,
            rgba(255, 110, 199, 0.06) 100%);
    border: 1px solid rgba(0, 204, 255, 0.15);
    border-radius: 32px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-section__inner::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            rgba(0, 204, 255, 0.1) 0%,
            transparent 70%);
    pointer-events: none;
}

.cta-section__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fafafa;
    margin-bottom: 16px;
    position: relative;
}

.cta-section__subtitle {
    font-size: 17px;
    color: #a1a1aa;
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
    position: relative;
}

/* ---------- FOOTER ---------- */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 64px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 64px;
    padding-bottom: 48px;
}

.footer__brand {
    max-width: 320px;
}

.footer__brand p {
    font-size: 14px;
    color: #71717a;
    margin-top: 16px;
    line-height: 1.6;
}

.footer__links {
    display: flex;
    gap: 80px;
}

.footer__col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fafafa;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col a {
    font-size: 14px;
    color: #71717a;
    transition: color 0.2s;
}

.footer__col a:hover {
    color: #00ccff;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
}

.footer__bottom p {
    font-size: 13px;
    color: #52525b;
    text-align: center;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-target {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid children */
.features__grid .animate-target:nth-child(1) {
    transition-delay: 0s;
}

.features__grid .animate-target:nth-child(2) {
    transition-delay: 0.08s;
}

.features__grid .animate-target:nth-child(3) {
    transition-delay: 0.16s;
}

.features__grid .animate-target:nth-child(4) {
    transition-delay: 0.24s;
}

.features__grid .animate-target:nth-child(5) {
    transition-delay: 0.32s;
}

.features__grid .animate-target:nth-child(6) {
    transition-delay: 0.4s;
}

.templates__grid .animate-target:nth-child(1) {
    transition-delay: 0s;
}

.templates__grid .animate-target:nth-child(2) {
    transition-delay: 0.1s;
}

.templates__grid .animate-target:nth-child(3) {
    transition-delay: 0.2s;
}

.templates__grid .animate-target:nth-child(4) {
    transition-delay: 0.3s;
}

.templates__grid .animate-target:nth-child(5) {
    transition-delay: 0.4s;
}

.templates__grid .animate-target:nth-child(6) {
    transition-delay: 0.5s;
}

.templates__grid .animate-target:nth-child(7) {
    transition-delay: 0.6s;
}

.templates__grid .animate-target:nth-child(8) {
    transition-delay: 0.7s;
}

.templates__grid .animate-target:nth-child(9) {
    transition-delay: 0.8s;
}

.templates__grid .animate-target:nth-child(10) {
    transition-delay: 0.9s;
}

.included__grid .animate-target:nth-child(1) {
    transition-delay: 0s;
}

.included__grid .animate-target:nth-child(2) {
    transition-delay: 0.08s;
}

.included__grid .animate-target:nth-child(3) {
    transition-delay: 0.16s;
}

.included__grid .animate-target:nth-child(4) {
    transition-delay: 0.24s;
}

.included__grid .animate-target:nth-child(5) {
    transition-delay: 0.32s;
}

.included__grid .animate-target:nth-child(6) {
    transition-delay: 0.4s;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .included__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar__links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        z-index: 999;
    }

    .navbar__links.open {
        display: flex;
    }

    .navbar__links a {
        font-size: 24px;
        font-weight: 600;
        color: #e4e4e7;
    }

    .navbar__hamburger {
        display: flex;
        z-index: 1001;
    }

    .navbar__cta {
        display: none;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero__stats {
        gap: 32px;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .templates__grid {
        grid-template-columns: 1fr;
    }

    .included__grid {
        grid-template-columns: 1fr;
    }

    .pricing__cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer__links {
        gap: 48px;
    }

    .cta-section__inner {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 15px;
    }

    .hero__stats {
        gap: 24px;
    }

    .hero__stat strong {
        font-size: 22px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-card__amount {
        font-size: 40px;
    }

    .footer__links {
        flex-direction: column;
        gap: 32px;
    }
}