/*
  public/css/static-page.css
  This is now the "master" stylesheet for ALL
  static pages (Home, Touchdown, Latest, Rebuild).
*/

/* --- 1. Animation Styles (Unchanged) --- */
.feature-block-interactive {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.feature-block-interactive:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.scroll-reveal-image {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-reveal-image.revealed {
    opacity: 1;
    transform: translateX(0);
}
.feature-block-reverse .scroll-reveal-image {
    transform: translateX(100px);
}
.feature-block-reverse .scroll-reveal-image.revealed {
    transform: translateX(0);
}
.typing-effect {
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid var(--secondary-color);
    animation: typing 2.5s steps(20, end) forwards, blink 0.75s step-end infinite;
}
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink { from, to { border-color: transparent } 50% { border-color: var(--secondary-color); } }

/* Card reveal (from new index.html) */
.scroll-reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- 2. Manually Converted Tailwind (Base) --- */
.touchdown-container, .rebuild-container, .latest-container, .index-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1.5rem;
}
@media (min-width: 768px) {
    .touchdown-container, .rebuild-container, .latest-container, .index-container {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}
.h1-container {
    text-align: center;
    margin-bottom: 4rem;
}
.h1-container h1 {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    color: #262626;
    display: inline-block;
    padding-right: 0.5rem;
}
@media (min-width: 768px) {
    .h1-container h1 {
        font-size: 3.75rem;
    }
}
.section-mb {
    margin-bottom: 5rem;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
@media (min-width: 640px) {
    .stat-grid { grid-template-columns: repeat(3, 1fr); }
}
/* (Stat item styles...) */

.feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}
@media (min-width: 768px) {
    .feature-block { flex-direction: row; gap: 4rem; }
}
@media (min-width: 768px) {
    .feature-block-reverse { flex-direction: row-reverse; }
}
.feature-block .feature-image { width: 100%; }
@media (min-width: 768px) {
    .feature-block .feature-image { width: 50%; }
}
.feature-block .feature-image img {
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    width: 100%;
    object-fit: cover;
}
.feature-block .feature-content { width: 100%; color: #404040; }
@media (min-width: 768px) {
    .feature-block .feature-content { width: 50%; }
}
.feature-block .feature-content h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.feature-block .feature-content p {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

/*
=====================================
=== 3. NEW STYLES (from index.html)
=====================================
*/

/* --- NEW Hero Slider --- */
#hero-slider {
    position: relative;
    overflow: hidden;
    background-color: white;
    color: white;
}
.hero-slider-images {
    display: flex;
    width: 300%; /* 3 images */
    height: 60vh; /* 60% of viewport height */
    min-height: 500px;
    transition: transform 0.7s ease-in-out;
}
.hero-slider-images img {
    width: 33.333%; /* 1/3 */
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
}
.hero-slider-content {
    position: absolute;
    inset: 0; /* z-10 */
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}
.hero-slider-content h1 {
    font-size: 2.5rem; /* text-4xl */
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #171717; /* text-neutral-900 */
    max-width: 768px; /* max-w-3xl */
}
@media (min-width: 768px) {
    .hero-slider-content h1 {
        font-size: 3.75rem; /* md:text-6xl */
    }
}

/* --- NEW Stats Bar --- */
.stats-bar {
    padding: 3rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    box-shadow: 0 -5px 15px -3px rgba(0,0,0,0.1);
}
.stats-bar-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    text-align: center;
}
@media (min-width: 640px) {
    .stats-bar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.stats-bar-grid .stat-item {
    padding: 1rem;
}
@media (min-width: 640px) {
    .stats-bar-grid .stat-item {
        border-right: 1px solid #d4d4d4;
    }
    .stats-bar-grid .stat-item:last-child {
        border-right: none;
    }
}
.stats-bar-grid .stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
}
.stats-bar-grid .stat-label {
    color: #525252;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
}

/* --- NEW Featured Components --- */
.featured-components {
    padding: 4rem 1.5rem;
}
.featured-components-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: #171717;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .featured-components-title {
        font-size: 2.5rem;
    }
}
.featured-components-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) {
    .featured-components-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.component-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    overflow: hidden;
}
.component-card img {
    width: 100%;
    height: 256px; /* h-64 */
    object-fit: cover;
}
.component-card-content {
    padding: 1.5rem;
}
.component-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 0.5rem;
}
.component-card-content p {
    color: #404040;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.component-card-content .card-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    display: inline-block;
}
.component-card-content .card-link:hover {
    color: var(--secondary-color);
}
.featured-components-cta {
    text-align: center;
    margin-top: 3rem;
}

/* --- NEW "How it Works" --- */
.how-it-works {
    padding: 4rem 1.5rem;
}
.how-it-works-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: #171717;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .how-it-works-title {
        font-size: 2.5rem;
    }
}
.how-it-works-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) {
    .how-it-works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
}
.step-icon {
    width: 4rem; /* w-16 */
    height: 4rem; /* h-16 */
    background: var(--primary-color);
    color: white;
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.step-icon i {
    font-size: 1.5rem; /* h-6 w-6 */
}
.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.step-card p {
    color: #525252;
}

/* --- NEW Contact Section --- */
.contact-section {
    padding: 4rem 1.5rem;
    background: var(--theme-dark-bg);
    color: white;
}
.contact-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.contact-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
}
.contact-content p {
    color: var(--theme-dark-text);
    margin-top: 1rem;
}
.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.contact-info-item .icon {
    color: var(--secondary-color);
    font-size: 1.1rem;
    padding-top: 0.25rem;
}
.contact-info-item .info-text .info-title {
    font-weight: 600;
    font-family: Inter, sans-serif;
    font-style: normal;
}
.contact-info-item .info-text a {
    color: var(--theme-dark-text);
}
.contact-info-item .info-text a:hover {
    color: white;
}
.contact-form-container {
    background: #262626; /* bg-neutral-800 */
    border-radius: 0.5rem;
}
@media (min-width: 768px) {
    .contact-form-container {
        padding: 2rem;
    }
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.375rem;
    background: #404040; /* bg-neutral-700 */
    border: 1px solid #525252; /* border-neutral-600 */
    color: white;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #a3a3a3; /* placeholder-neutral-400 */
}