/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #00D4AA;
    --primary-dark: #00A088;
    --secondary-blue: #0066FF;
    --text-dark: #0A0A0A;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-lighter: #FAFBFC;
    --white: #FFFFFF;
    --border-light: #E5E7EB;
    --gradient-1: linear-gradient(135deg, #00D4AA 0%, #00A088 100%);
    --gradient-2: linear-gradient(135deg, #0066FF 0%, #00D4AA 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-lighter);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    padding: 16px 0;
}

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

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.dot-onl {
    color: var(--primary-teal);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-teal);
}

.create-button {
    background: var(--gradient-1);
    color: var(--white);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.create-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-teal);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(20px, 2.5vw, 24px);
    color: var(--text-light);
    margin-bottom: 48px;
}

.new-link {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.new-link:hover {
    border-bottom-color: var(--secondary-blue);
}

/* Stats Container */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-teal);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    background: var(--white);
    padding: 8px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.search-button {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    padding: 0 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-button:hover {
    transform: scale(1.05);
}

/* Hero Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.1;
}

.site-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transform: rotate(-5deg) scale(1.1);
    margin-top: 100px;
}

.site-preview {
    height: 200px;
    border-radius: 8px;
    background: var(--primary-teal);
    animation: float 20s infinite ease-in-out;
}

.site-preview:nth-child(2) { animation-delay: 5s; }
.site-preview:nth-child(3) { animation-delay: 10s; }
.site-preview:nth-child(4) { animation-delay: 15s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Featured Sites */
.featured-sites {
    padding: 80px 0;
    background: var(--bg-lighter);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.site-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-light);
}

.site-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.site-card.featured {
    grid-column: span 2;
}

.site-preview-window {
    aspect-ratio: 16/10;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.preview-bar {
    background: var(--white);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-light);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DDD;
}

.preview-dots span:first-child { background: #FF5F57; }
.preview-dots span:nth-child(2) { background: #FFBD2E; }
.preview-dots span:nth-child(3) { background: #28CA42; }

.preview-url {
    font-size: 12px;
    color: var(--text-light);
    font-family: monospace;
}

.preview-content {
    height: calc(100% - 41px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.preview-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.preview-placeholder {
    width: 90%;
    height: 80%;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: none; /* Hide placeholder when we have real images */
}

.preview-placeholder.portfolio {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.preview-placeholder.store {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.preview-placeholder.blog {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.preview-placeholder.business {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.site-info {
    padding: 24px;
}

.site-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.site-info p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.site-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-dark);
}

.visit-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s;
}

.visit-link:hover {
    gap: 8px;
}

/* Categories */
.categories {
    padding: 80px 0;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.category-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--white);
    border-color: var(--primary-teal);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.category-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background: var(--bg-lighter);
}

.trust-content {
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-top: 64px;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
}

.trust-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.trust-item p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-1);
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary-teal);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.arrow-icon {
    transition: transform 0.3s;
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    background: var(--text-dark);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 16px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.powered-by {
    font-size: 14px;
}

.powered-by a {
    color: var(--primary-teal);
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-actions {
        gap: 16px;
    }
    
    .nav-link {
        display: none;
    }
    
    .stats-container {
        gap: 32px;
    }
    
    .site-card.featured {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}