/* FAMILY.CO Architecture Design System */
:root {
    /* Brand Colors - HSL Format */
    --primary: 232 50% 58%; /* Indigo Blue */
    --primary-foreground: 0 0% 100%;
    
    --secondary: 180 25% 94%; /* Lightest Teal */
    --secondary-foreground: 220 11% 31%;
    
    --accent: 45 93% 47%; /* Golden Yellow */
    --accent-foreground: 0 0% 100%;
    
    --background: 0 0% 100%; /* Pure White */
    --foreground: 220 11% 31%; /* Dark Charcoal */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--secondary)));
    
    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.3);
    --shadow-soft: 0 4px 20px -4px hsl(220 11% 31% / 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--gradient-hero);
    color: hsl(var(--foreground));
    line-height: 1.6;
    min-height: 100vh;
}

/* Layout */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header */
.header {
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

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

.logo h2 a {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: hsl(var(--foreground));
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: hsl(var(--foreground) / 0.7);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: hsl(var(--primary));
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: hsl(var(--primary));
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

.hero-section {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Tagline Container */
.tagline-container {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.main-tagline {
    font-size: 2.5rem;
    font-weight: 300;
    color: hsl(var(--foreground));
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.accent {
    color: hsl(var(--accent));
    font-weight: 500;
}

/* Subtitle */
.subtitle {
    font-size: 1.25rem;
    color: hsl(var(--foreground) / 0.7);
    font-weight: 300;
    max-width: 32rem;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.feature-card {
    background: hsl(var(--background));
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.feature-card h3 {
    color: hsl(var(--primary));
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: hsl(var(--foreground) / 0.7);
    line-height: 1.6;
}

/* Buttons */
.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.9s forwards;
}

.btn {
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    box-shadow: var(--shadow-soft);
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-elegant);
}

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

.btn-primary:hover {
    background: hsl(var(--primary) / 0.9);
}

.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border: 1px solid hsl(var(--secondary-foreground) / 0.2);
}

.btn-secondary:hover {
    background: hsl(var(--secondary) / 0.9);
}

/* Footer */
.footer {
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: hsl(var(--foreground) / 0.6);
}

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

.social-links a {
    color: hsl(var(--foreground) / 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: hsl(var(--accent));
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .buttons-container {
        flex-direction: row;
    }
    
    .main-tagline {
        font-size: 3.5rem;
    }
    
    .tagline-container {
        height: 8rem;
    }
}

@media (min-width: 768px) {
    .main-tagline {
        font-size: 4rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .tagline-container {
        height: 10rem;
    }
    
    .nav {
        display: flex;
    }
}

@media (max-width: 767px) {
    .nav {
        display: none;
    }
}

@media (min-width: 1024px) {
    .main-tagline {
        font-size: 5rem;
    }
    
    .tagline-container {
        height: 12rem;
    }
}