/* ============================================
   LAYOUT.CSS - Layout Styles & Grid Systems
   ============================================ */

/* Header */
.header {
    background: var(--dark-gradient);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex: 1;
}

.nav-links a {
    color: white;
    font-weight: 500;
    transition: opacity var(--transition);
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 6rem 1.5rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-top: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.features,
.how-it-works,
.use-cases {
    padding: 5rem 1.5rem;
}

.features {
    background: var(--color-light);
}

.how-it-works {
    background: white;
}

.use-cases {
    background: var(--color-light);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Systems */
.features-grid,
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

/* Demo Section */
.demo {
    padding: 5rem 1.5rem;
    background: var(--secondary-gradient);
    color: white;
}

.demo-content {
    max-width: 1000px;
    margin: 0 auto;
}

.demo h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.demo-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.demo-text p {
    margin-bottom: 1.5rem;
}

/* Stats Section */
.stats {
    background: var(--dark-gradient);
    color: white;
    padding: 4rem 1.5rem;
}

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

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    list-style: none;
}

.footer-links a {
    color: #ccc;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
}
