/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors from UI_GUIDELINES.md */
    --primary-purple: #8000FF;
    --primary-purple-dark: #6C00D8;
    --btn-left: #962EFF;
    --btn-right: #A347FF;
    --bg-app: #F8F8FA;
    --bg-card: #FFFFFF;
    --text-main: #000000;
    --text-dull-black: #464444;
    --text-gray: #BEBEBE;
    --text-dull-gray: #7D7D7D;
    --text-field: #8B8B8B;
    --accent-teal: #1ED7AA;
    --error: #E84D4F;
    --field-bg: #F5F5F5;
}

body {
    font-family: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-app);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-app);
    border-bottom: 1px solid var(--text-gray);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.008);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.logo:hover {
    color: var(--btn-left);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
}

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

.cta-button {
    background: linear-gradient(to right, var(--btn-left), var(--btn-right));
    color: white !important;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(150, 46, 255, 0.1);
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 5rem 0 6rem;
    text-align: center;
    background: var(--bg-app);
}

.hero-headline {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subheadline {
    font-size: 16px;
    color: var(--text-dull-black);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--btn-left), var(--btn-right));
    color: white;
    box-shadow: 0 2px 5px rgba(150, 46, 255, 0.1);
    min-width: 240px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(150, 46, 255, 0.15);
}

.btn-secondary-link {
    color: var(--text-dull-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.btn-secondary-link:hover {
    color: var(--primary-purple);
}

.trust-line {
    color: var(--text-dull-gray);
    font-size: 12px;
    margin-top: 2rem;
}

.hero-visual {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.dashboard-mock {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
    max-width: 400px;
    width: 100%;
    overflow: hidden;
}

.mock-header {
    background: var(--bg-app);
    padding: 1rem;
    border-bottom: 1px solid var(--text-gray);
}

.mock-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
}

.mock-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mock-inventory h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.inventory-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 14px;
    color: var(--text-dull-black);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
}

.badge-available {
    background: rgba(30, 215, 170, 0.1);
    color: var(--accent-teal);
}

.badge-reserved {
    background: rgba(150, 46, 255, 0.1);
    color: var(--btn-left);
}

.badge-out {
    background: rgba(255, 0, 0, 0.1);
    color: var(--error);
}

.badge-returned {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dull-black);
}

.mock-action {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mock-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(to right, var(--btn-left), var(--btn-right));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Kanit', sans-serif;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Kanit', sans-serif;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 14px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-main);
}

/* Problem → Solution */
.problem-solution {
    background: var(--bg-app);
    padding: 4rem 0;
}

.pain-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card h3 {
    font-size: 16px;
    margin-bottom: 0;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.4;
}

.solution {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.solution-text {
    font-size: 16px;
    color: var(--text-dull-black);
    line-height: 1.8;
}

/* How It Works */
.how-it-works {
    background: var(--bg-card);
    padding: 4rem 0;
}

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

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to right, var(--btn-left), var(--btn-right));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 16px;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 600;
}

.step p {
    color: var(--text-dull-black);
    line-height: 1.6;
    font-size: 14px;
}

/* Navigation Method - SIMPLIFIED */
.navigation-method {
    background: var(--bg-app);
    padding: 5rem 0;
}

.navigation-method .section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3rem;
}

.workflow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.workflow-stage {
    flex: 1;
    min-width: 200px;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
    border: 2px solid rgba(150, 46, 255, 0.1);
}

.stage-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--btn-left);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.stage-simple {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stage-line {
    font-size: 14px;
    color: var(--text-dull-black);
    line-height: 1.5;
}

.stage-line strong {
    color: var(--text-main);
    font-weight: 600;
    margin-right: 0.5rem;
}

.workflow-arrow {
    font-size: 2rem;
    color: var(--btn-left);
    font-weight: 700;
    align-self: center;
    padding: 0 0.5rem;
}

.workflow-principles {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.principle {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
}

.principle h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.principle p {
    font-size: 14px;
    color: var(--text-dull-black);
}

.inbox-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge-new {
    background: rgba(150, 46, 255, 0.1);
    color: var(--btn-left);
}

.badge-sent {
    background: rgba(150, 46, 255, 0.1);
    color: var(--btn-left);
}

.badge-confirmed {
    background: linear-gradient(to right, var(--btn-left), var(--btn-right));
    color: white;
}

.badge-done {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dull-black);
}

.arrow {
    color: var(--text-dull-gray);
}

/* Features */
.features {
    background: var(--bg-card);
    padding: 4rem 0;
}

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

.feature-card {
    background: var(--bg-app);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-dull-black);
    line-height: 1.6;
    font-size: 14px;
}

/* Trust & Safety */
.trust-safety {
    background: var(--bg-app);
    padding: 4rem 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.trust-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.trust-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 0;
    color: var(--text-main);
    font-weight: 600;
}

/* Partner Form */
.partner-form-section {
    background: var(--bg-card);
    padding: 5rem 0;
}

.form-intro {
    text-align: center;
    color: var(--text-dull-black);
    margin-bottom: 2rem;
    font-size: 14px;
}

.partner-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-app);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Kanit', sans-serif;
    background: var(--bg-card);
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--btn-left);
    box-shadow: 0 0 0 3px rgba(150, 46, 255, 0.1);
}

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

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-message {
    max-width: 600px;
    margin: 1.5rem auto 0;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

.form-message-success {
    background: rgba(30, 215, 170, 0.1);
    color: var(--accent-teal);
    border: 1px solid var(--accent-teal);
}

.form-message-error {
    background: rgba(232, 77, 79, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

.form-success {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: center;
    padding: 2rem;
    background: var(--bg-app);
    border-radius: 15px;
}

.form-success p {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-success .btn {
    margin-bottom: 1.5rem;
}

.form-contact {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-dull-black);
    font-size: 14px;
}

.form-contact a {
    color: var(--btn-left);
    text-decoration: none;
}

.form-contact a:hover {
    text-decoration: underline;
}

/* FAQ */
.faq {
    background: var(--bg-app);
    padding: 4rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: 'Kanit', sans-serif;
}

.faq-question h3 {
    font-size: 16px;
    margin: 0;
    color: var(--text-main);
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    font-size: 24px;
    color: var(--btn-left);
    font-weight: 300;
    margin-left: 1rem;
    line-height: 1;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-dull-black);
    line-height: 1.6;
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--text-main);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 16px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 14px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 12px;
    }
    
    .hero-headline {
        font-size: 20px;
    }
    
    .hero-subheadline {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .workflow {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
    
    .partner-form {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }

    .navigation-method {
        padding: 4rem 0;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero-headline {
        font-size: 18px;
    }
    
    .workflow-stage {
        min-width: 100%;
    }

    .btn-primary {
        min-width: 100%;
    }
}
