* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #000000;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    position: relative;
    z-index: 1000;
    margin-bottom: 1rem;
}

.content-wrapper {
    background-color: #e0e0e0;
    margin: 0 auto 2rem;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 95%;
    max-width: 1400px;
    flex: 1;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #000;
    text-decoration: none;
    position: absolute; /* Added */
    left: 2rem; /* Added */
}

.nav-links {
    display: flex;
    gap: 2rem;
    justify-content: center; /* Added */
}

.nav-links a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    position: absolute; /* Added */
    right: 2rem; /* Added */
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    text-decoration: none;
    opacity: 0.7;
}

.btn-primary {
    background: #000;
    color: #fff;
    border: none;
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: 1px solid #eaeaea;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.btn-primary:hover {
    background: #222;
}

.btn-secondary:hover {
    border-color: #000;
}

.hero {
    padding: 4rem 2rem 4rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.templates-showcase {
    position: relative;
    height: 400px;
    max-width: 1000px;
    margin: 0 auto;
}

.template-card {
    position: absolute;
    width: 300px;
    height: 400px;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    transition: all 0.5s ease;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
}

/* Default positions (stacked) */
.template-card:nth-child(1) {
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    z-index: 1;
}

.template-card:nth-child(2) {
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    z-index: 2;
}

.template-card:nth-child(3) {
    left: 50%;
    transform: translate(-50%, -50%) rotate(5deg);
    z-index: 3;
}

/* Hover states - when showcase is hovered */
.templates-showcase:hover .template-card:nth-child(1) {
    transform: translate(-100%, -50%) rotate(0);
}

.templates-showcase:hover .template-card:nth-child(2) {
    transform: translate(-50%, -50%) rotate(0);
}

.templates-showcase:hover .template-card:nth-child(3) {
    transform: translate(0%, -50%) rotate(0);
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.template-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.template-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.template-description {
    color: #666;
    font-size: 0.9rem;
}

/* Footer styling */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 4rem;
    background: transparent;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #000;
}

.footer-copyright {
    color: #999;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .templates-showcase {
        height: 300px;
    }

    .template-card {
        width: 250px;
        height: 350px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
