:root {
    --graphite: #2a2b2e;
    --golden-glow: #e8d121;
    --brown-red: #a22c29;
    --fresh-sky: #3da5d9;
    --white: #ffffff;
    --gray-light: #f4f4f4;
    --gray-muted: #6b7280;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--graphite);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: var(--gray-muted);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
    border: none;
    position: relative;
    will-change: transform;
}

.btn-primary {
    background-color: var(--brown-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #8a2421;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-graphite {
    background-color: var(--graphite);
    color: var(--white);
}

.btn-graphite:hover {
    background-color: #1a1b1e;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-outline:hover {
    background-color: var(--graphite);
    color: var(--white);
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--graphite);
    text-decoration: none;
}

.logo span {
    color: var(--brown-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--graphite);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--brown-red);
}

.mobile-menu-btn {
    display: none;
}

/* Hero */
.hero {
    background-color: var(--golden-glow);
    padding: 10rem 0 8rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    margin-bottom: 2rem;
    color: var(--graphite);
}

.hero-label span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--graphite);
    color: var(--white);
    font-size: 0.65rem;
    border-radius: 4px;
}

.hero h1 {
    transform-origin: left;
    animation: slideIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero h1 span {
    color: var(--white);
    display: block;
    position: relative;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero p {
    color: var(--graphite);
    opacity: 0.8;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

/* Builder Preview Animation */
.builder-preview {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
}

.preview-header {
    background: var(--gray-light);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.preview-canvas {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skeleton-nav {
    height: 12px;
    width: 60%;
    background: var(--gray-light);
    border-radius: 4px;
}

.skeleton-hero {
    height: 80px;
    background: var(--golden-glow);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    animation: pulse 2s infinite ease-in-out;
}

.skeleton-text {
    height: 10px;
    width: 40%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

.skeleton-button {
    height: 20px;
    width: 30%;
    background: var(--graphite);
    border-radius: 4px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.skeleton-item {
    aspect-ratio: 1;
    background: var(--gray-light);
    border-radius: 4px;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* Pricing Section */
.pricing {
    padding: 10rem 0;
}

.pricing-badge {
    display: inline-block;
    background: var(--brown-red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    border: 2px solid var(--graphite);
    box-shadow: 4px 4px 0px var(--graphite);
}

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

.pricing-card {
    background: var(--white);
    padding: 5rem 3rem;
    border: 2px solid var(--graphite);
    position: relative;
    box-shadow: 8px 8px 0px var(--graphite);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px var(--graphite);
}

.pricing-card.featured {
    background: var(--golden-glow);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.price {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 800;
    color: var(--graphite);
    line-height: 1;
    margin-bottom: 3rem;
    display: flex;
    align-items: baseline;
    /* Initial state for fall animation */
    opacity: 0;
    transform: translateY(-50px);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.price.animate-fall {
    opacity: 1;
    transform: translateY(0);
}

.price span:first-child {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.price span:last-child {
    font-size: 1rem;
    color: var(--gray-muted);
    margin-left: 0.5rem;
}

.card-footer p {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--graphite);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer .logo {
    color: var(--white);
}

.footer .logo span {
    color: var(--golden-glow);
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.link-group h5 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--golden-glow);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

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

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--graphite);
        margin: 5px 0;
        transition: var(--transition);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .body.no-scroll {
        overflow: hidden;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

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

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

.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: var(--graphite);
    color: var(--white);
    padding: 1rem;
    border-radius: 99px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 998;
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: block;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}