@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700&family=Cabin:wght@400;700&display=swap');

:root {
    --c6k-primary: #ea580c;
    --c6k-secondary: #c2410c;
    --c6k-accent: #2563eb;
    --c6k-background: #fff7ed;
    --c6k-text: #431407;
    --c6k-muted: #fb923c;
    --c6k-light-background: #ffffff;
    --c6k-dark-text: #1a202c;
    --c6k-border-color: rgba(0, 0, 0, 0.1);
    --c6k-shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --c6k-shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);
    --c6k-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
    --c6k-transition-speed: 0.3s;
    --c6k-container-max-width: 1200px;
}

/* Base Reset & Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cabin', sans-serif;
    color: var(--c6k-text);
    background-color: var(--c6k-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--c6k-primary);
    color: var(--c6k-light-background);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo', sans-serif;
    color: var(--c6k-secondary);
    line-height: 1.2;
    margin-bottom: 0.75em;
}

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

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

h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h5 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

h6 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
}

p {
    margin-bottom: 1em;
    font-size: 1.125rem;
}

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

a:hover {
    color: var(--c6k-secondary);
    text-decoration: underline;
}

strong {
    font-weight: 700;
}

/* Utility Classes */
.tp-container {
    max-width: var(--c6k-container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.tp-grid {
    display: grid;
    gap: 2rem;
}

.tp-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.tp-text-center {
    text-align: center;
}

.tp-text-left {
    text-align: left;
}

.tp-text-right {
    text-align: right;
}

.tp-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.tp-animate.tp-is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--c6k-transition-speed) ease;
    text-decoration: none;
}

.tp-btn-primary {
    background-color: var(--c6k-primary);
    color: var(--c6k-light-background);
    border-color: var(--c6k-primary);
}

.tp-btn-primary:hover {
    background-color: var(--c6k-secondary);
    border-color: var(--c6k-secondary);
    transform: translateY(-2px);
    box-shadow: var(--c6k-shadow-light);
}

.tp-btn-secondary {
    background-color: transparent;
    color: var(--c6k-primary);
    border-color: var(--c6k-primary);
}

.tp-btn-secondary:hover {
    background-color: var(--c6k-primary);
    color: var(--c6k-light-background);
    transform: translateY(-2px);
    box-shadow: var(--c6k-shadow-light);
}

.tp-btn-outline {
    background-color: transparent;
    color: var(--c6k-text);
    border-color: var(--c6k-border-color);
}

.tp-btn-outline:hover {
    border-color: var(--c6k-primary);
    color: var(--c6k-primary);
    transform: translateY(-2px);
    box-shadow: var(--c6k-shadow-light);
}

/* Outline Hover Fill CTA Style */
.tp-btn.tp-cta-outline-hover-fill {
    background-color: transparent;
    color: var(--c6k-primary);
    border-color: var(--c6k-primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tp-btn.tp-cta-outline-hover-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--c6k-primary);
    transform: translateX(-100%);
    transition: transform var(--c6k-transition-speed) ease;
    z-index: -1;
}

.tp-btn.tp-cta-outline-hover-fill:hover {
    color: var(--c6k-light-background);
    border-color: var(--c6k-primary);
}

.tp-btn.tp-cta-outline-hover-fill:hover::before {
    transform: translateX(0);
}

/* Header & Navigation */
.tp-primary-header {
    background-color: var(--c6k-light-background);
    padding: 1rem 0;
    box-shadow: var(--c6k-shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.tp-logo {
    font-family: 'Archivo', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c6k-secondary);
    text-decoration: none;
}

.tp-logo span {
    color: var(--c6k-primary);
}

.tp-nav {
    display: flex;
    align-items: center;
    width: 100%; /* For logo-centered-links-below */
    order: 2;
    margin-top: 1rem;
}

.tp-nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

.tp-nav-item a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--c6k-dark-text);
    font-weight: 600;
    transition: color var(--c6k-transition-speed) ease, background-color var(--c6k-transition-speed) ease;
    border-radius: 0.25rem;
}

.tp-nav-item a:hover {
    color: var(--c6k-primary);
    background-color: rgba(var(--c6k-primary), 0.05);
    text-decoration: none;
}

.tp-hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    position: relative;
    order: 1;
}

.tp-logo-wrapper {
    flex-grow: 1;
    text-align: center;
    order: 1;
}

.tp-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--c6k-text);
    border-radius: 2px;
    transition: all var(--c6k-transition-speed) ease;
}

.tp-hamburger.active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.tp-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.tp-hamburger.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* Hero Section */
.tp-hero {
    /* background-image: url('https://loremflickr.com/1400/800/tech%2Csoftware%2Csaas/all?lock=1449648630'); */
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0;
}

.tp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.8) 0%, rgba(194, 65, 12, 0.7) 100%);
    mix-blend-mode: multiply; /* Blends nicely with background image */
    z-index: 0;
}

.tp-hero-content {
    position: relative;
    z-index: 1;
    color: var(--c6k-light-background);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.tp-hero-content h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.tp-hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.tp-section {
    padding: 6rem 0;
    position: relative;
}

.tp-section:nth-of-type(even) {
    background-color: var(--c6k-background);
}

.tp-section:nth-of-type(odd) {
    background-color: var(--c6k-light-background);
}

.tp-section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tp-section-header h2 {
    margin-bottom: 1rem;
    color: var(--c6k-secondary);
}

.tp-section-header p {
    font-size: 1.25rem;
    color: var(--c6k-text);
}

/* Cards */
.tp-card {
    background-color: var(--c6k-light-background);
    border-radius: 0.75rem;
    box-shadow: var(--c6k-shadow-light);
    padding: 2rem;
    transition: transform var(--c6k-transition-speed) ease, box-shadow var(--c6k-transition-speed) ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid var(--c6k-border-color);
}

.tp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--c6k-shadow-hover);
}

.tp-card-icon {
    font-size: 3rem;
    color: var(--c6k-primary);
    margin-bottom: 1rem;
}

.tp-card h3 {
    margin-bottom: 0.75rem;
    color: var(--c6k-secondary);
}

.tp-card p {
    font-size: 1rem;
    color: var(--c6k-text);
    flex-grow: 1;
}

.tp-card img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Feature Highlights */
.tp-feature-item {
    display: flex;
    gap: 2rem;
    align-items: center;
    text-align: left;
    background-color: var(--c6k-light-background);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--c6k-shadow-light);
    border: 1px solid var(--c6k-border-color);
    transition: transform var(--c6k-transition-speed) ease, box-shadow var(--c6k-transition-speed) ease;
}

.tp-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--c6k-shadow-medium);
}

.tp-feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.tp-feature-item img {
    width: 40%;
    max-width: 300px;
    height: auto;
    border-radius: 0.75rem;
    object-fit: cover;
}

.tp-feature-content h3 {
    color: var(--c6k-secondary);
    margin-bottom: 0.75rem;
}

.tp-feature-content p {
    color: var(--c6k-text);
    font-size: 1.1rem;
}

/* Testimonials */
.tp-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tp-testimonial-card {
    background-color: var(--c6k-primary);
    color: var(--c6k-light-background);
    padding: 2.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--c6k-shadow-medium);
    position: relative;
    overflow: hidden;
}

.tp-testimonial-card::before {
    content: '"';
    font-family: serif;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
    z-index: 0;
}

.tp-testimonial-card p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.tp-testimonial-author {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.tp-testimonial-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Value Propositions */
.tp-value-prop-item {
    text-align: center;
    padding: 1.5rem;
}

.tp-value-prop-icon {
    font-size: 3.5rem;
    color: var(--c6k-primary);
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform var(--c6k-transition-speed) ease;
}

.tp-value-prop-item:hover .tp-value-prop-icon {
    transform: scale(1.1);
}

.tp-value-prop-item h3 {
    color: var(--c6k-secondary);
    margin-bottom: 0.75rem;
}

.tp-value-prop-item p {
    color: var(--c6k-text);
    font-size: 1rem;
}

/* FAQ */
.tp-faq-item {
    background-color: var(--c6k-light-background);
    border: 1px solid var(--c6k-border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--c6k-shadow-light);
}

.tp-faq-q {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--c6k-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--c6k-transition-speed) ease;
}

.tp-faq-q:hover {
    background-color: rgba(var(--c6k-primary), 0.05);
}

.tp-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--c6k-primary);
    transition: transform var(--c6k-transition-speed) ease;
}

.tp-faq-item.active .tp-faq-q {
    color: var(--c6k-primary);
    background-color: var(--c6k-background);
}

.tp-faq-item.active .tp-faq-q::after {
    content: '-';
    transform: rotate(0deg);
}

.tp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--c6k-transition-speed) ease-out;
    background-color: var(--c6k-background);
}

.tp-faq-item.active .tp-faq-a {
    max-height: 500px; /* Adjust as needed for content */
    padding: 0 2rem 1.5rem;
}

.tp-faq-a p {
    padding-top: 1rem;
    font-size: 1.1rem;
    color: var(--c6k-text);
}

/* Inline CTA */
.tp-cta-inline {
    background-color: var(--c6k-primary);
    color: var(--c6k-light-background);
    padding: 4rem 0;
    text-align: center;
}

.tp-cta-inline h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.tp-cta-inline p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Form */
.tp-contact-form-section {
    padding: 6rem 0;
    background-color: var(--c6k-background);
}

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

.tp-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--c6k-dark-text);
    font-size: 1rem;
}

.tp-form-group input[type="text"],
.tp-form-group input[type="email"],
.tp-form-group input[type="tel"],
.tp-form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--c6k-border-color);
    border-radius: 0.5rem;
    font-family: 'Cabin', sans-serif;
    font-size: 1.1rem;
    color: var(--c6k-dark-text);
    background-color: var(--c6k-light-background);
    transition: border-color var(--c6k-transition-speed) ease, box-shadow var(--c6k-transition-speed) ease;
}

.tp-form-group input:focus,
.tp-form-group textarea:focus {
    outline: none;
    border-color: var(--c6k-primary);
    box-shadow: 0 0 0 3px rgba(var(--c6k-primary), 0.2);
}

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

.tp-form-success, .tp-form-error {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.tp-form-success {
    background-color: #d4edda;
    color: #155724;
}

.tp-form-error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Trust Badges/Elements */
.tp-trust-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--c6k-light-background);
    border: 1px solid var(--c6k-border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--c6k-text);
    transition: all var(--c6k-transition-speed) ease;
    box-shadow: var(--c6k-shadow-light);
}

.tp-trust-badge i {
    font-size: 1.5rem;
    color: var(--c6k-primary);
    margin-right: 0.75rem;
}

.tp-trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--c6k-shadow-medium);
    border-color: var(--c6k-primary);
}

.tp-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    justify-items: center;
}

/* Footer */
.tp-footer {
    background-color: var(--c6k-secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
}

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

.tp-footer-col h4 {
    color: var(--c6k-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tp-footer-col p,
.tp-footer-col address {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.tp-footer-col ul {
    list-style: none;
}

.tp-footer-col ul li {
    margin-bottom: 0.75rem;
}

.tp-footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--c6k-transition-speed) ease;
}

.tp-footer-col ul li a:hover {
    color: var(--c6k-primary);
    text-decoration: underline;
}

.tp-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tp-social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    transition: color var(--c6k-transition-speed) ease;
}

.tp-social-links a:hover {
    color: var(--c6k-primary);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .tp-section {
        padding: 5rem 0;
    }

    .tp-header-inner {
        justify-content: center;
    }

    .tp-logo-wrapper {
        flex-grow: 0;
        margin-bottom: 1rem;
    }

    .tp-nav {
        order: 3;
        margin-top: 0;
    }

    .tp-nav-menu {
        justify-content: space-around;
    }

    .tp-feature-item img {
        width: 35%;
    }

    .tp-hero-content h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .tp-hero-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .tp-hamburger {
        display: flex;
        order: 2;
        margin-left: auto;
    }

    .tp-header-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0 1.5rem;
    }

    .tp-logo-wrapper {
        text-align: left;
        width: auto;
        margin-bottom: 0;
    }

    .tp-nav {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--c6k-light-background);
        box-shadow: var(--c6k-shadow-medium);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--c6k-transition-speed) ease-in-out;
        z-index: 999;
        margin-top: 0;
        align-items: flex-start;
    }

    .tp-nav.active {
        max-height: 300px; /* Adjust based on content */
    }

    .tp-nav-menu {
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
    }

    .tp-nav-item a {
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: center;
    }

    .tp-section {
        padding: 4rem 0;
    }

    .tp-feature-item {
        flex-direction: column;
        text-align: center;
    }

    .tp-feature-item:nth-child(even) {
        flex-direction: column;
    }

    .tp-feature-item img {
        width: 100%;
        max-width: 400px;
    }

    .tp-testimonial-card p {
        font-size: 1.1rem;
    }

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

    .tp-footer-col ul {
        padding-left: 0;
    }

    .tp-social-links {
        justify-content: center;
    }

    .tp-hero-content h1 {
        font-size: 2.5rem;
    }

    .tp-hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .tp-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }

    .tp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .tp-faq-q {
        font-size: 1.1rem;
        padding: 1.2rem 1.5rem;
    }

    .tp-faq-item.active .tp-faq-a {
        padding: 0 1.5rem 1.2rem;
    }

    .tp-cta-inline h2 {
        font-size: 2rem;
    }

    .tp-cta-inline p {
        font-size: 1rem;
    }

    .tp-trust-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .tp-trust-badge i {
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }
    .tp-footer-col h4 {
        font-size: 1.1rem;
    }
}


/* === Quality polish === */
button, [class*="btn"], [class*="cta"] { transition: all 0.3s ease; cursor: pointer; }
button:hover, [class*="btn"]:hover, [class*="cta"]:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); filter: brightness(1.05); }

@keyframes tpFadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.tp-animate { opacity: 0; }
.tp-animate.tp-visible { animation: tpFadeInUp 0.6s ease forwards; }