/* Trellis Controls - Website Styles */

:root {
    --color-primary: #2d5a27;
    --color-primary-dark: #1e3d1a;
    --color-accent: #4a7c43;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #fff;
    --color-bg-alt: #f8f9f7;
    --color-border: #e0e0e0;
    --max-width: 1100px;
}

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

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

/* Header & Navigation */
header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Main Content */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero, .contact-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-bg-alt);
    border-radius: 8px;
    margin-bottom: 3rem;
}

.hero h1, .contact-hero h1 {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.hero p, .contact-hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.75rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}

.feature h3 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--color-text-light);
}

/* Product Card */
.product-card {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-card ul {
    margin-top: 1rem;
    margin-left: 1.5rem;
}

.product-card li {
    margin-bottom: 0.5rem;
}

/* Use Cases */
.use-cases ul {
    list-style: none;
}

.use-cases li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.use-cases li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-primary);
    color: white;
    border-radius: 8px;
}

.cta h2 {
    color: white;
    border-bottom: none;
}

.cta p {
    font-size: 1.1rem;
}

.cta a {
    color: #a8d5a2;
}

.cta a:hover {
    color: white;
}

/* Legal Pages (Privacy Policy) */
.legal {
    max-width: 800px;
}

.legal h1 {
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.effective-date {
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.legal h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
}

.legal h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.legal p {
    margin-bottom: 1rem;
}

.legal ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal li {
    margin-bottom: 0.5rem;
}

.legal address {
    font-style: normal;
    background: var(--color-bg-alt);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Contact Page */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-method {
    background: var(--color-bg-alt);
    padding: 2rem;
    border-radius: 8px;
}

.contact-method h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: none;
}

.contact-method address {
    font-style: normal;
    line-height: 1.8;
}

.contact-info {
    margin-bottom: 2rem;
}

.response-time, .sms-support {
    background: var(--color-bg-alt);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.sms-support ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.sms-support li {
    margin-bottom: 0.5rem;
}

/* Links */
a {
    color: var(--color-primary);
}

a:hover {
    color: var(--color-primary-dark);
}

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

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

footer a {
    color: #a8d5a2;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero h1, .contact-hero h1 {
        font-size: 2rem;
    }

    .hero p, .contact-hero p {
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
