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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* ===== COLORS ===== */
:root {
    --orange: #FF8C00;
    --orange-light: #FFA500;
    --orange-dark: #E67E00;
    --white: #FFFFFF;
    --off-white: #F9F9FB;
    --dark: #1a1a2e;
    --gray: #6b7280;
    --light-gray: #e5e7eb;
}

.highlight {
    color: var(--orange);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== BACKGROUND SNIPPET TEXT (Hero) ===== */
.bg-snippet {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 90%;
    height: 80%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    overflow: hidden;
}

.bg-snippet span {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    font-weight: 600;
    color: rgba(180, 180, 190, 0.15);
    white-space: nowrap;
    animation: snippetScroll 20s linear infinite;
    opacity: 0;
    animation-fill-mode: forwards;
}

.bg-snippet span:nth-child(1) { animation-delay: 0s; }
.bg-snippet span:nth-child(2) { animation-delay: 4s; }
.bg-snippet span:nth-child(3) { animation-delay: 8s; }
.bg-snippet span:nth-child(4) { animation-delay: 12s; }
.bg-snippet span:nth-child(5) { animation-delay: 16s; }

@keyframes snippetScroll {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    10% {
        opacity: 1;
        transform: translateX(0);
    }
    80% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

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

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

.logo-icon {
    font-size: 1.8rem;
    color: var(--orange);
    font-weight: 800;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray);
    transition: color 0.3s;
    position: relative;
    padding: 0.25rem 0;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
}

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

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fff5e6 100%);
}

.hero-bg {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(255,140,0,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--dark);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
}

.hero-text .sub-text {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange);
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255,140,0,0.3);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,140,0,0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn-outline:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-2px);
}

.hero-visual {
    flex: 1;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s;
}

.hero-visual:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 30px 80px rgba(255,140,0,0.15);
}

.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--orange), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orange);
    background: rgba(255,140,0,0.1);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(255,140,0,0.1);
}

.about-card .icon {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1.2rem;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--dark);
}

.about-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== CAPABILITIES ===== */
.capabilities {
    background: #fff;
}

.caps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cap-item {
    background: var(--off-white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.cap-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255,140,0,0.08);
    border-color: rgba(255,140,0,0.15);
}

.cap-icon {
    font-size: 2.2rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.cap-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cap-item p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ===== FEATURES ===== */
.features {
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255,140,0,0.1);
}

.feature-card .icon {
    font-size: 2.2rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== ABOUT DETAIL (VS Code Extension) ===== */
.about-detail {
    background: #fff;
}

.detail-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.detail-text {
    flex: 1;
}

.detail-text p {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.detail-list {
    margin: 1.5rem 0;
}

.detail-list li {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.detail-list li i {
    color: var(--orange);
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.release-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,140,0,0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--dark);
}

.release-badge i {
    color: var(--orange);
    font-size: 1.3rem;
}

.detail-visual {
    flex: 1;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.detail-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== PRICING ===== */
.pricing {
    background: var(--off-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255,140,0,0.1);
}

.pricing-card.featured {
    border: 2px solid var(--orange);
    box-shadow: 0 8px 30px rgba(255,140,0,0.12);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.price {
    margin-bottom: 0.6rem;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
}

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

.model-badge {
    display: inline-block;
    background: rgba(255,140,0,0.08);
    color: var(--orange);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    margin-bottom: 0.8rem;
}

.pricing-header p:last-of-type {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
    flex: 1;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-features li i {
    color: var(--orange);
    font-size: 1rem;
}

.btn-buy {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255,140,0,0.3);
}

.btn-buy:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,140,0,0.4);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    margin: auto;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: modalSlideIn 0.3s ease;
}

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

.close-modal {
    float: right;
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--dark);
}

.modal-icon {
    font-size: 3rem;
    color: var(--orange);
    margin: 1rem 0 0.5rem;
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.modal-content p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-close-btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-close-btn:hover {
    background: var(--orange-dark);
}

/* ===== CONTACT ===== */
.contact {
    background: #fff;
}

.contact-single {
    display: flex;
    justify-content: center;
}

.contact-email-card {
    background: var(--off-white);
    padding: 2.5rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    max-width: 450px;
    width: 100%;
}

.contact-email-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(255,140,0,0.1);
}

.contact-email-card i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.contact-email-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-email-card a {
    font-size: 1.1rem;
    color: var(--orange);
    font-weight: 600;
    transition: opacity 0.2s;
}

.contact-email-card a:hover {
    opacity: 0.8;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: #fff;
    padding: 4rem 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-icon {
    font-size: 1.8rem;
    color: var(--orange);
}

.footer-brand .logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.footer-brand p {
    margin-top: 0.5rem;
    color: #a0a0b8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: #c0c0d0;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: #d0d0e0;
    font-size: 1.1rem;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

.footer-social a:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 0;
    text-align: center;
    color: #808090;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 2rem;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 100%;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }

    .detail-content {
        flex-direction: column;
        text-align: center;
    }

    .detail-list li {
        justify-content: center;
    }

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

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .bg-snippet span {
        font-size: 1rem;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .btn-primary, .btn-outline {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}