/* Base styles and reset */
:root {
    --primary: #FF5700;
    --primary-light: rgba(255, 87, 0, 0.1);
    --primary-dark: #E54E00;
    --secondary: #FF8C44;
    --text-dark: #222222;
    --text-medium: #555555;
    --text-light: #888888;
    --background: #FFFFFF;
    --background-alt: #F9F6F2;
    --radius: 6px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Header */
header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero section */
.hero {
    padding: 5rem 0 3rem;
    background-color: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 650px;
    margin-bottom: 2.5rem;
}

.cta-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(255, 87, 0, 0.25);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 87, 0, 0.35);
    color: white;
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.cta-button.large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-graphic {
    max-width: 500px;
    margin: 0 auto;
}

.hero-graphic svg {
    width: 100%;
    height: auto;
}

/* Features section */
.features {
    padding: 5rem 0;
    background-color: var(--background);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 1rem auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.feature-card svg {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* Examples section */
.examples {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.example-card {
    background: var(--background);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.example-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.example-graphic {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--primary-light);
}

.example-card h4, .example-card p {
    padding: 0 1.5rem;
}

.example-card h4 {
    margin-top: 1.5rem;
    color: var(--text-dark);
}

.example-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.view-link {
    display: block;
    background-color: var(--primary-light);
    color: var(--primary);
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.view-link:hover {
    background-color: var(--primary);
    color: white;
}

/* Join section */
.join {
    padding: 5rem 0;
    background-color: var(--background);
}

.join-card {
    background: var(--background);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.join-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary);
}

.join-card h2 {
    margin-bottom: 1.5rem;
}

.join-card p {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background-color: var(--text-dark);
    color: white;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.footer-logo svg {
    width: 35px;
    height: 35px;
}

.footer-nav {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-nav-col h4 {
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.footer-nav-col ul li {
    margin-bottom: 0.7rem;
}

.footer-nav-col ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-nav-col ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 992px) {
    .features-grid, .examples-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    .cta-button, .secondary-button {
        width: 100%;
        text-align: center;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .join-card {
        padding: 2rem 1rem;
    }
}

/* Mobile menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background: white;
    width: 80%;
    max-width: 320px;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}
