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

:root {
    /* Color Variables */
    --rich-black: #222120;
    --stone-gray: #8a8684;
    --vibrant-green: #22c55e;
    --light-beige: #f5f5f0;
    --warm-off-white: #f7f0ea;
    --white: #ffffff;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--rich-black);
    background-color: var(--warm-off-white);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--stone-gray);
}

.text-accent {
    color: var(--vibrant-green);
}

.white-text {
    color: var(--white) !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--rich-black);
    border: 2px solid var(--light-beige);
}

.btn-secondary:hover {
    background-color: var(--light-beige);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Header */
.header {
    background-color: var(--warm-off-white);
    border-bottom: 1px solid var(--light-beige);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--rich-black);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--rich-black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    background-color: var(--vibrant-green);
}

.door-emoji {
    font-size: 18px;
    color: var(--white);
}

.brand-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

.brand-subtitle {
    font-size: 12px;
    color: var(--stone-gray);
    line-height: 1;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    text-decoration: none;
    color: var(--stone-gray);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--rich-black);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--vibrant-green);
    border-radius: 1px;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--rich-black);
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background-color: var(--white);
    border-top: 1px solid var(--light-beige);
}

.nav-link-mobile {
    padding: 12px 0;
    text-decoration: none;
    color: var(--rich-black);
    font-weight: 500;
    border-bottom: 1px solid var(--light-beige);
}

.mobile-cta {
    margin-top: 16px;
}

/* Hero Section */
.hero-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--warm-off-white) 0%, #f9f7f4 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--vibrant-green);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--rich-black);
}

.stat-label {
    font-size: 14px;
    color: var(--stone-gray);
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--vibrant-green);
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tyler-card {
    background: linear-gradient(135deg, var(--vibrant-green) 0%, #16a34a 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tyler-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tyler-emoji {
    font-size: 48px;
    margin-bottom: 16px;
}

.tyler-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tyler-title {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 24px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-card .stat-number {
    font-size: 32px;
    color: var(--vibrant-green);
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 16px;
    color: var(--stone-gray);
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--rich-black) 0%, #2d2c2a 100%);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.section-title {
    margin-bottom: 24px;
}

.section-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: var(--vibrant-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-title {
    color: var(--rich-black);
    margin-bottom: 16px;
}

.feature-description {
    color: var(--stone-gray);
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background-color: var(--warm-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: var(--vibrant-green);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.1);
}

.service-card.featured {
    border-color: var(--vibrant-green);
    position: relative;
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 32px;
    background-color: var(--vibrant-green);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    width: 48px;
    height: 48px;
    background-color: var(--vibrant-green);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-title {
    margin-bottom: 16px;
}

.service-description {
    margin-bottom: 24px;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--vibrant-green);
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 32px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--stone-gray);
}

.service-features svg {
    color: var(--vibrant-green);
    flex-shrink: 0;
}

/* Resources Section */
.resources-section {
    padding: var(--section-padding);
    background-color: var(--light-beige);
}

.resource-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 400px;
    max-width: 1000px;
    margin: 0 auto;
}

.resource-content {
    padding: 48px;
}

.resource-icon {
    color: var(--vibrant-green);
    margin-bottom: 24px;
}

.resource-title {
    font-size: 28px;
    margin-bottom: 16px;
}

.resource-description {
    font-size: 16px;
    margin-bottom: 24px;
}

.resource-features {
    list-style: none;
}

.resource-features li {
    margin-bottom: 8px;
    color: var(--stone-gray);
}

.resource-form {
    background-color: var(--vibrant-green);
    color: var(--white);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.resource-form h4 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--white);
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background-color: var(--white);
    color: var(--rich-black);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-note {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 16px;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--warm-off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    background-color: var(--white);
    border: 2px solid var(--light-beige);
    color: var(--rich-black);
}

.contact-form .form-group label {
    color: var(--rich-black);
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
    margin-bottom: 24px;
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--rich-black);
}

.faq-item p {
    font-size: 14px;
    color: var(--stone-gray);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--stone-gray);
}

.contact-method svg {
    color: var(--vibrant-green);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--light-beige);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-gray);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--vibrant-green);
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--rich-black);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--vibrant-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--vibrant-green);
}

/* Chatbot */
.chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background-color: var(--vibrant-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    transition: var(--transition);
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    max-height: 500px;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background-color: var(--vibrant-green);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
}

.chatbot-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.chatbot-message {
    margin-bottom: 16px;
}

.bot-message {
    background-color: var(--light-beige);
    padding: 12px 16px;
    border-radius: 12px 12px 12px 4px;
    color: var(--rich-black);
}

.user-message {
    background-color: var(--vibrant-green);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 12px 12px 4px 12px;
    margin-left: 40px;
}

.chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chatbot-option {
    background-color: var(--white);
    border: 2px solid var(--light-beige);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    color: var(--rich-black);
}

.chatbot-option:hover {
    border-color: var(--vibrant-green);
    background-color: var(--light-beige);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--vibrant-green);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    display: none;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.success-message.show {
    display: block;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-desktop,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-mobile.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .resource-card {
        grid-template-columns: 1fr;
    }
    
    .resource-form {
        padding: 32px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .chatbot-window {
        width: 300px;
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-content,
    .resource-form {
        padding: 24px;
    }
    
    .chatbot-window {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--vibrant-green);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

