@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --t2x-primary: #0d9488;
    --t2x-secondary: #0f766e;
    --t2x-accent: #f43f5e;
    --t2x-background: #f0fdfa;
    --t2x-text: #134e4a;
    --t2x-muted: #5eead4;

    --ct-heading-font: 'Space Grotesk', sans-serif;
    --ct-body-font: 'Inter', sans-serif;

    --ct-spacing-xl: 120px;
    --ct-spacing-lg: 80px;
    --ct-spacing-md: 48px;
    --ct-spacing-sm: 24px;

    --ct-border-radius: 8px;
    --ct-transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ct-heading-font);
    color: var(--t2x-secondary);
    line-height: 1.2;
    margin-bottom: var(--ct-spacing-sm);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

/* Utility Classes */
.ct-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ct-spacing-sm);
    padding-right: var(--ct-spacing-sm);
}

.ct-grid {
    display: grid;
    gap: var(--ct-spacing-md);
}

.ct-flex {
    display: flex;
    align-items: center;
    gap: var(--ct-spacing-sm);
}

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

.ct-section-padding {
    padding-top: var(--ct-spacing-lg);
    padding-bottom: var(--ct-spacing-lg);
}

.ct-section-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--t2x-muted), transparent);
    margin: var(--ct-spacing-lg) 0;
}

/* Buttons */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--ct-border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all var(--ct-transition-speed);
    text-decoration: none;
    white-space: nowrap;
}

.ct-btn-primary {
    background-color: var(--t2x-primary);
    color: var(--t2x-background);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.ct-btn-primary:hover {
    background-color: var(--t2x-secondary);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
    transform: translateY(-2px);
}

.ct-btn-secondary {
    background-color: var(--t2x-accent);
    color: var(--t2x-background);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.ct-btn-secondary:hover {
    background-color: #e23b53;
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.4);
    transform: translateY(-2px);
}

.ct-btn-outline {
    background-color: transparent;
    color: var(--t2x-primary);
    border: 2px solid var(--t2x-primary);
}

.ct-btn-outline:hover {
    background-color: var(--t2x-primary);
    color: var(--t2x-background);
}

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

.ct-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ct-logo {
    font-family: var(--ct-heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--t2x-primary);
    text-decoration: none;
    letter-spacing: -0.05em;
}

.ct-nav-links {
    display: flex;
    gap: var(--ct-spacing-md);
    list-style: none;
}

.ct-nav-links a {
    font-weight: 500;
    color: var(--t2x-text);
    position: relative;
    padding: 0.5rem 0;
}

.ct-nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--t2x-accent);
    transition: width var(--ct-transition-speed);
}

.ct-nav-links a:hover::after {
    width: 100%;
}

.ct-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--t2x-primary);
}

.ct-mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--t2x-secondary);
    padding: 1rem var(--ct-spacing-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all var(--ct-transition-speed);
    max-height: 0;
    overflow: hidden;
}

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

.ct-mobile-nav a {
    color: var(--t2x-background);
    padding: 0.8rem 0;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-weight: 500;
}

.ct-mobile-nav a:last-child {
    border-bottom: none;
}

.ct-mobile-nav a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Hero Section */
.ct-hero {
    background-image: url('https://loremflickr.com/1400/800/fitness%2Cgym/all?lock=2013211418');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--t2x-background);
    text-align: center;
}

.ct-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.8) 0%, rgba(15, 118, 110, 0.8) 100%);
    z-index: 1;
}

.ct-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--ct-spacing-sm);
}

.ct-hero-content h1 {
    color: var(--t2x-background);
    margin-bottom: var(--ct-spacing-sm);
}

.ct-hero-content p {
    font-size: 1.3rem;
    margin-bottom: var(--ct-spacing-md);
    color: rgba(255,255,255,0.9);
}

/* Sections */
.ct-section-alt-bg {
    background-color: rgba(var(--t2x-muted), 0.1);
}

.ct-section-heading {
    text-align: center;
    margin-bottom: var(--ct-spacing-lg);
}

.ct-section-heading h2 {
    margin-bottom: 1rem;
}

.ct-section-heading p {
    font-size: 1.15rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--t2x-secondary);
}

/* Card Components */
.ct-card {
    background-color: #ffffff;
    border-radius: var(--ct-border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: var(--ct-spacing-md);
    transition: transform var(--ct-transition-speed), box-shadow var(--ct-transition-speed);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ct-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.ct-card-icon {
    color: var(--t2x-primary);
    font-size: 3rem;
    margin-bottom: var(--ct-spacing-sm);
}

.ct-card-body img {
    border-radius: var(--ct-border-radius);
    margin-bottom: var(--ct-spacing-sm);
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Testimonials */
.ct-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--ct-spacing-md);
}

.ct-testimonial-card {
    background-color: #ffffff;
    border-radius: var(--ct-border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: var(--ct-spacing-md);
    position: relative;
}

.ct-testimonial-card::before {
    content: '“';
    font-family: serif;
    font-size: 4rem;
    color: var(--t2x-muted);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    opacity: 0.6;
}

.ct-testimonial-text {
    font-style: italic;
    color: var(--t2x-text);
    margin-bottom: var(--ct-spacing-sm);
    padding-top: var(--ct-spacing-sm);
}

.ct-testimonial-author {
    font-weight: 600;
    color: var(--t2x-primary);
    margin-top: 10px;
}

.ct-testimonial-context {
    font-size: 0.9em;
    color: var(--t2x-secondary);
}

/* How It Works */
.ct-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--ct-spacing-lg);
}

.ct-step-item {
    text-align: center;
    position: relative;
    padding-bottom: var(--ct-spacing-md);
}

.ct-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--t2x-primary);
    color: var(--t2x-background);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--ct-spacing-sm);
    border: 3px solid var(--t2x-muted);
    box-shadow: 0 0 0 5px rgba(var(--t2x-primary), 0.2);
}

.ct-step-item h3 {
    color: var(--t2x-primary);
    margin-bottom: 0.5rem;
}

.ct-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% - 60px);
    background: linear-gradient(to bottom, var(--t2x-muted), var(--t2x-primary));
    z-index: -1;
}

/* Override for horizontal layout on desktop */
@media (min-width: 769px) {
    .ct-steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .ct-step-item:not(:last-child)::after {
        width: calc(100% + var(--ct-spacing-lg));
        height: 3px;
        left: 50%;
        top: 30px;
        transform: translateY(-50%) translateX(-50%);
        background: linear-gradient(to right, var(--t2x-primary), var(--t2x-muted));
    }
    .ct-step-item {
        padding-bottom: 0;
    }
}

/* FAQ Accordion */
.ct-faq-item {
    background-color: #ffffff;
    border-radius: var(--ct-border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid var(--t2x-muted);
}

.ct-faq-q {
    padding: 1.2rem var(--ct-spacing-md);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--t2x-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--t2x-background);
    transition: background-color var(--ct-transition-speed);
}

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

.ct-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--t2x-secondary);
    transition: transform var(--ct-transition-speed);
}

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

.ct-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--ct-transition-speed);
    padding: 0 var(--ct-spacing-md);
    color: var(--t2x-text);
}

.ct-faq-item.active .ct-faq-a {
    max-height: 500px; /* Adjust as needed */
    padding-bottom: 1.2rem;
}

.ct-faq-a p {
    margin-bottom: 0;
}

/* CTA Banner */
.ct-cta-banner {
    background: linear-gradient(135deg, var(--t2x-primary) 0%, var(--t2x-secondary) 100%);
    color: var(--t2x-background);
    padding: var(--ct-spacing-lg) 0;
    text-align: center;
    border-radius: var(--ct-border-radius);
    margin: var(--ct-spacing-lg) 0;
}

.ct-cta-banner h2 {
    color: var(--t2x-background);
    margin-bottom: var(--ct-spacing-sm);
}

.ct-cta-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto var(--ct-spacing-md);
    color: rgba(255,255,255,0.9);
}

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

.ct-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--t2x-secondary);
    font-weight: 500;
}

.ct-form-group input[type="text"],
.ct-form-group input[type="email"],
.ct-form-group input[type="tel"],
.ct-form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--t2x-muted);
    border-radius: var(--ct-border-radius);
    font-family: var(--ct-body-font);
    font-size: 1rem;
    color: var(--t2x-text);
    background-color: #ffffff;
    transition: border-color var(--ct-transition-speed), box-shadow var(--ct-transition-speed);
}

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

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

.ct-form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--ct-border-radius);
    font-weight: 500;
    display: none;
}

.ct-form-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.ct-form-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Trust Elements */
.ct-trust-item {
    display: inline-flex;
    align-items: center;
    background-color: var(--t2x-background);
    border: 1px solid var(--t2x-muted);
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    margin: 0.5rem;
    color: var(--t2x-secondary);
    font-weight: 500;
}

.ct-trust-item i {
    margin-right: 0.8rem;
    color: var(--t2x-primary);
    font-size: 1.2rem;
}

/* Footer */
.ct-footer {
    background-color: var(--t2x-secondary);
    color: rgba(255,255,255,0.8);
    padding-top: var(--ct-spacing-lg);
    padding-bottom: var(--ct-spacing-md);
    font-size: 0.95rem;
}

.ct-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--ct-spacing-md);
    margin-bottom: var(--ct-spacing-lg);
}

.ct-footer-col h4 {
    color: var(--t2x-background);
    margin-bottom: var(--ct-spacing-sm);
    font-size: 1.2rem;
}

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

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

.ct-footer-col ul li a {
    color: rgba(255,255,255,0.7);
}

.ct-footer-col ul li a:hover {
    color: var(--t2x-muted);
}

.ct-footer-info p {
    margin-bottom: 0.8rem;
}

.ct-footer-bottom {
    text-align: center;
    padding-top: var(--ct-spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.ct-footer-bottom .ct-nav-links a {
    color: rgba(255,255,255,0.6);
}

.ct-footer-bottom .ct-nav-links a:hover {
    color: var(--t2x-muted);
}

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .ct-nav-links {
        gap: var(--ct-spacing-sm);
    }

    .ct-hero-content p {
        font-size: 1.15rem;
    }

    .ct-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

    .ct-section-padding {
        padding-top: var(--ct-spacing-md);
        padding-bottom: var(--ct-spacing-md);
    }

    .ct-testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .ct-nav-links {
        display: none;
    }

    .ct-menu-toggle {
        display: block;
    }

    .ct-navbar {
        padding: 0 1rem; /* Adjust padding for mobile */
    }

    .ct-hero {
        min-height: 60vh;
    }

    .ct-hero-content {
        padding: 0 var(--ct-spacing-sm);
    }

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

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

    .ct-step-item:not(:last-child)::after {
        width: 3px;
        height: calc(100% - 60px);
        left: 50%;
        transform: translateX(-50%);
        top: 30px;
        background: linear-gradient(to bottom, var(--t2x-muted), var(--t2x-primary)); /* Reset for vertical */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .ct-logo {
        font-size: 1.6rem;
    }

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

    .ct-section-padding {
        padding-top: var(--ct-spacing-md);
        padding-bottom: var(--ct-spacing-md);
    }

    .ct-spacing-md {
        gap: var(--ct-spacing-sm);
    }

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

    .ct-footer-col h4 {
        margin-top: var(--ct-spacing-sm);
    }

    .ct-footer-col ul li {
        margin-bottom: 0.5rem;
    }
    .ct-trust-item {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin: 0.3rem;
    }
    .ct-faq-q {
        font-size: 1rem;
        padding: 1rem var(--ct-spacing-sm);
    }
    .ct-faq-a {
        padding: 0 var(--ct-spacing-sm);
    }
}


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