/* appwt.software - Custom Software & SaaS Products
   (c) 1997-2026 AppWT Web & AI Solutions (AppWT LLC) */

:root {
    --forest: #1B4332;
    --gold: #F4A261;
    --platinum: #F8F9FA;
    --obsidian: #0D2818;
    --white: #FFFFFF;
    --gray-light: #E9ECEF;
    --gray-dark: #495057;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--platinum);
}

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

a {
    color: var(--forest);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

header {
    background: var(--forest);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

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

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.logo-text p {
    font-size: 14px;
    color: var(--gold);
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: var(--white);
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

nav a:hover, nav a.active {
    border-bottom-color: var(--gold);
}

.cta-button {
    background: var(--gold);
    color: var(--obsidian);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: #E89451;
    transform: translateY(-2px);
    color: var(--obsidian);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    min-width: 48px;
    min-height: 48px;
}

.hero {
    background: linear-gradient(135deg, var(--forest) 0%, var(--obsidian) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero h2 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 30px;
    color: var(--gray-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

section {
    padding: 60px 20px;
    max-width: 100vw;
    overflow-x: hidden;
}

section:nth-child(even) {
    background: var(--white);
}

h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 15px;
}

h3 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.1);
}

.product-card h3 {
    color: var(--forest);
    margin-bottom: 15px;
}

.product-card p {
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.product-features {
    list-style: none;
    margin: 20px 0;
}

.product-features li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--gray-dark);
}

.product-features li:before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 18px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    border-left: 4px solid var(--gold);
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--forest);
    margin: 15px 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    justify-content: center;
}

.tech-badge {
    background: var(--forest);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 20px;
}

.faq-item h3 {
    color: var(--forest);
    margin-bottom: 10px;
    font-size: 20px;
}

.faq-item p {
    color: var(--gray-dark);
    line-height: 1.7;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--forest);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-light);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--forest);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

footer {
    background: var(--obsidian);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(244, 162, 97, 0.3);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-light);
}

.footer-bottom p {
    margin: 5px 0;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    section, .container {
        max-width: 100vw;
        overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6, p, li, span, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: none;
        width: 100%;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    .mobile-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .product-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .product-card,
    .service-card {
        padding: 20px;
    }
}
