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

:root {
    --4xc-primary: #dc2626;
    --4xc-secondary: #b91c1c;
    --4xc-accent: #eab308;
    --4xc-background: #0d0d0d;
    --4xc-text: #ffffff;
    --4xc-muted: #a3a3a3;
    --4xc-header-bg: #1a1a1a;
    --4xc-card-bg: #1c1c1c;
    --4xc-border-color: rgba(255, 255, 255, 0.1);
    --4xc-font-heading: 'Montserrat', sans-serif;
    --4xc-font-body: 'Open Sans', sans-serif;
}

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

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

body {
    font-family: var(--4xc-font-body);
    line-height: 1.6;
    color: var(--4xc-text);
    background-color: var(--4xc-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--4xc-accent);
    color: var(--4xc-background);
}

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

a:hover {
    color: var(--4xc-accent);
}

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

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--4xc-font-heading);
    color: var(--4xc-text);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

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

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

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

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

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

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

p {
    margin-bottom: 1em;
    color: var(--4xc-muted);
}

ul {
    list-style: none;
}

/* Utility Classes */
.tp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.tp-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

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

.tp-section-heading {
    margin-bottom: 3rem;
}

.tp-section-heading h2 {
    margin-bottom: 0.5rem;
    color: var(--4xc-text);
}

.tp-section-heading p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.15rem;
    color: var(--4xc-muted);
}

/* Buttons */
.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tp-btn-primary {
    background-color: var(--4xc-primary);
    color: var(--4xc-text);
    border-color: var(--4xc-primary);
}

.tp-btn-primary:hover {
    background-color: var(--4xc-secondary);
    border-color: var(--4xc-secondary);
    transform: translateY(-2px);
    box-shadow: 0px 8px 15px rgba(var(--4xc-primary), 0.3);
}

.tp-btn-secondary {
    background-color: var(--4xc-accent);
    color: var(--4xc-background);
    border-color: var(--4xc-accent);
}

.tp-btn-secondary:hover {
    background-color: #d1a407;
    border-color: #d1a407;
    transform: translateY(-2px);
    box-shadow: 0px 8px 15px rgba(var(--4xc-accent), 0.3);
}

.tp-btn-outline {
    background-color: transparent;
    color: var(--4xc-primary);
    border-color: var(--4xc-primary);
}

.tp-btn-outline:hover {
    background-color: var(--4xc-primary);
    color: var(--4xc-text);
    transform: translateY(-2px);
    box-shadow: 0px 8px 15px rgba(var(--4xc-primary), 0.2);
}

/* Header & Navigation */
.tp-header {
    background-color: var(--4xc-header-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--4xc-border-color);
}

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

.tp-logo {
    font-family: var(--4xc-font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--4xc-text);
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
}

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

.tp-logo svg {
    margin-right: 8px;
    width: 30px;
    height: 30px;
    fill: var(--4xc-primary);
}

.tp-nav-menu {
    display: flex;
    align-items: center;
}

.tp-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-nav-links li {
    margin-left: 2rem;
}

.tp-nav-links a {
    color: var(--4xc-muted);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.tp-nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--4xc-primary);
    transition: width 0.3s ease;
}

.tp-nav-links a:hover::after, .tp-nav-links a.active::after {
    width: 100%;
}

.tp-nav-links a:hover, .tp-nav-links a.active {
    color: var(--4xc-text);
}

.tp-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1010;
}

.tp-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--4xc-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.tp-mobile-nav {
    display: none; /* Controlled by JS */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--4xc-header-bg);
    padding-top: 6rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1005;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
}

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

.tp-mobile-nav .tp-nav-links {
    flex-direction: column;
    text-align: center;
}

.tp-mobile-nav .tp-nav-links li {
    margin: 1.5rem 0;
}

.tp-mobile-nav .tp-nav-links a {
    font-size: 1.8rem;
    color: var(--4xc-text);
}

.tp-mobile-nav .tp-nav-links a::after {
    background-color: var(--4xc-accent);
}

/* Hero Section */
.tp-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--4xc-text);
    overflow: hidden;
    padding: 80px 0;
}

.tp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom right, rgba(0,0,0,0.7), rgba(0,0,0,0.4)),
                      url('https://picsum.photos/seed/startmoviessbs-movies-hero/1400/800');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: 1;
}

.tp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 1.5rem;
}

.tp-hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    margin-bottom: 0.6em;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.tp-hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Section Spacing & Backgrounds */
.tp-section {
    padding: 80px 0;
    position: relative;
}

.tp-section:nth-of-type(even) {
    background-color: var(--4xc-card-bg);
}

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

.tp-section-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--4xc-primary), var(--4xc-accent));
}

/* Card Components */
.tp-card {
    background-color: var(--4xc-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid var(--4xc-border-color);
}

.tp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(var(--4xc-primary), 0.2), 0 0 0 2px var(--4xc-primary);
}

.tp-card-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    height: 200px;
    object-fit: cover;
}

.tp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tp-card:hover .tp-card-image img {
    transform: scale(1.05);
}

.tp-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--4xc-text);
}

.tp-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--4xc-muted);
}

/* Form Styling */
.tp-form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

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

.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: 0.9rem 1.2rem;
    background-color: var(--4xc-background);
    border: 1px solid var(--4xc-border-color);
    border-radius: 8px;
    font-family: var(--4xc-font-body);
    font-size: 1rem;
    color: var(--4xc-text);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tp-form-group input[type="text"]:focus,
.tp-form-group input[type="email"]:focus,
.tp-form-group input[type="tel"]:focus,
.tp-form-group textarea:focus {
    outline: none;
    border-color: var(--4xc-primary);
    box-shadow: 0 0 0 3px rgba(var(--4xc-primary), 0.2);
}

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

.tp-form-error {
    color: var(--4xc-primary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.tp-form-success {
    background-color: #22c55e;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1.5rem;
    display: none;
    font-weight: 600;
}

/* Trust and Badge Elements */
.tp-trust-item {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    margin: 0.5rem;
    font-size: 0.95rem;
    color: var(--4xc-text);
    font-weight: 600;
    border: 1px solid var(--4xc-border-color);
}

.tp-trust-item svg {
    margin-right: 0.7rem;
    fill: var(--4xc-accent);
    width: 24px;
    height: 24px;
}

/* Footer */
.tp-footer {
    background-color: var(--4xc-header-bg);
    color: var(--4xc-muted);
    padding: 3rem 0;
    border-top: 1px solid var(--4xc-border-color);
}

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

.tp-footer-col h4 {
    color: var(--4xc-text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.tp-footer-col p,
.tp-footer-col ul {
    font-size: 0.9rem;
}

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

.tp-footer-col a {
    color: var(--4xc-muted);
}

.tp-footer-col a:hover {
    color: var(--4xc-primary);
    text-decoration: underline;
}

.tp-footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--4xc-border-color);
    font-size: 0.85rem;
}

/* FAQ Accordion */
.tp-faq-item {
    background-color: var(--4xc-card-bg);
    border: 1px solid var(--4xc-border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tp-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: var(--4xc-text);
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.tp-faq-q:hover {
    background-color: rgba(var(--4xc-primary), 0.1);
}

.tp-faq-q svg {
    width: 24px;
    height: 24px;
    fill: var(--4xc-primary);
    transition: transform 0.3s ease;
}

.tp-faq-item.active .tp-faq-q svg {
    transform: rotate(180deg);
}

.tp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 1.5rem;
    color: var(--4xc-muted);
}

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

/* Testimonials */
.tp-testimonial-card {
    background-color: var(--4xc-card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--4xc-border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.tp-testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--4xc-text);
}

.tp-testimonial-author {
    font-weight: 700;
    color: var(--4xc-primary);
    margin-top: 1rem;
    font-size: 1rem;
}

.tp-testimonial-author span {
    font-weight: 400;
    color: var(--4xc-muted);
    display: block;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tp-animate {
    opacity: 0;
}

.tp-animate.tp-animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tp-nav-links li {
        margin-left: 1.5rem;
    }

    .tp-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .tp-nav-links {
        display: none;
    }

    .tp-hamburger {
        display: flex;
    }

    .tp-hero h1 {
        font-size: clamp(2.2rem, 8vw, 4rem);
    }

    .tp-hero p {
        font-size: clamp(1rem, 3vw, 1.3rem);
    }

    .tp-grid {
        grid-template-columns: 1fr;
    }

    .tp-section {
        padding: 48px 0;
    }

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

    .tp-footer-col h4 {
        margin-top: 2rem;
    }
}

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

    .tp-logo {
        font-size: 1.5rem;
    }

    .tp-logo svg {
        width: 24px;
        height: 24px;
    }

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

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

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

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

    .tp-faq-a {
        font-size: 0.9rem;
    }
}


/* === 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); }