/* CSS Variables */
:root {
    --primary-color: #E35CE0;      /* Your main brand pink */
    --primary-dark: #C234BF;       /* ~15% darker for hover states */
    --primary-light: #E980E7;      /* ~15% lighter for accents */
    --primary-very-light: #FCE5FB; /* Very light (~95% lighter) for backgrounds */
    
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
}

/* Header Styles */
.site-header {
    background: var(--gray-900);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.header-brand h1 {
    color: var(--gray-50);
    font-family: 'Anton SC', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.055em;
    margin: 0;
}

.header-logo {
    width: 35px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--gray-50);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background-color: rgba(255, 51, 153, 0.1);
}

/* Landing page styles */
.landing-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: url('/header.jpg') no-repeat center center;
    background-size: cover;
    color: #ffffff; /* Lightened text colour */
    border-radius: 10px;
    margin-bottom: 40px;
}

.hero-content {
    position: relative;
    z-index: 2; /* Ensures content is above the overlay */
}

.hero h1 {
    font-size: 3rem;
    color: #ffffff; /* Pure white for maximum readability */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Subtle shadow for contrast */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px; /* Adds spacing below the subtitle */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-very-light);
}

/* Features section */
.features {
    padding: 60px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--gray-800);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--gray-800);
}

/* How it works section */
.how-it-works {
    padding: 60px 0;
    background: #fff3ff;
    border-radius: 10px;
    margin: 40px 0;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--gray-800);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

/* Footer Styles */
.site-footer {
    background: var(--gray-800);
    color: var(--gray-50);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: var(--gray-50);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1rem 20px 0;
    border-top: 1px solid var(--gray-700);
    text-align: center;
    color: var(--gray-300);
}

/* Error Message Styles */
.error-message {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    animation: fadeIn 0.3s ease-in;
    max-width: 90%;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-brand h1 {
        font-size: 1.5rem;
    }
    
    .header-logo {
        width: 25px;
        height: 30px;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .features, .how-it-works {
        padding: 40px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

