/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: #1d1d1f;
    background-color: #ffffff;
}

/* Navigation */
.nav-container {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
}

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0066cc;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(to bottom, #f5f5f7, #ffffff);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #1d1d1f, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: #86868b;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 980px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

/* Templates Section */
.templates-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.templates-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.template-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.template-preview {
    width: 100%;
    height: 200px;
    background-color: #f5f5f7;
    overflow: hidden;
}

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template-card:hover .template-preview img {
    transform: scale(1.05);
}

.template-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.2rem;
}

.template-card p {
    padding: 0 1.5rem 1.5rem;
    color: #86868b;
    font-size: 0.9rem;
}

.template-button {
    display: block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.8rem;
    background-color: #f5f5f7;
    color: #0066cc;
    text-decoration: none;
    text-align: center;
    border-radius: 980px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.template-button:hover {
    background-color: #0066cc;
    color: white;
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    background-color: #f5f5f7;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature p {
    color: #86868b;
}

/* Footer */
.footer {
    background-color: #f5f5f7;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #86868b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #86868b;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .nav-content {
        padding: 1rem;
    }
    
    .nav-links a {
        margin-left: 1rem;
    }
    
    .templates-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.template-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.template-card:nth-child(2) {
    animation-delay: 0.1s;
}

.template-card:nth-child(3) {
    animation-delay: 0.2s;
}

.template-card:nth-child(4) {
    animation-delay: 0.3s;
}

.template-card:nth-child(5) {
    animation-delay: 0.4s;
}

.template-card:nth-child(6) {
    animation-delay: 0.5s;
}

.template-card:nth-child(7) {
    animation-delay: 0.6s;
}

.template-card:nth-child(8) {
    animation-delay: 0.7s;
}

.template-card:nth-child(9) {
    animation-delay: 0.8s;
}

.template-card:nth-child(10) {
    animation-delay: 0.9s;
} 