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

:root {
    --pym-primary: #334155;
    --pym-secondary: #1e293b;
    --pym-accent: #22d3ee;
    --pym-background: #f8fafc;
    --pym-text: #0f172a;
    --pym-muted: #cbd5e1;
    --pym-font-heading: 'Space Grotesk', sans-serif;
    --pym-font-body: 'Inter', sans-serif;
    --pym-border-radius-sm: 0.25rem;
    --pym-border-radius-md: 0.5rem;
    --pym-transition-duration: 0.3s;
    --pym-shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --pym-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --pym-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

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

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

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

a {
    color: var(--pym-accent);
    text-decoration: none;
    transition: color var(--pym-transition-duration) ease, transform var(--pym-transition-duration) ease;
}

a:hover {
    color: var(--pym-primary);
    text-decoration: underline;
}

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

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--pym-font-heading);
    color: var(--pym-primary);
    line-height: 1.2;
    margin-bottom: 0.75em;
    letter-spacing: -0.025em;
}

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

h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
}

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

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

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

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

p {
    margin-bottom: 1em;
}

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

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

.ct-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

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

.ct-text-primary {
    color: var(--pym-primary);
}

.ct-text-accent {
    color: var(--pym-accent);
}

/* Section Spacing */
.ct-section {
    padding: 5rem 0;
    position: relative;
}

.ct-section:nth-child(even) {
    background-color: var(--pym-secondary);
    color: var(--pym-background);
}

.ct-section:nth-child(even) h2, .ct-section:nth-child(even) h3, .ct-section:nth-child(even) h4 {
    color: var(--pym-background);
}

.ct-section:nth-child(even) a {
    color: var(--pym-accent);
}

.ct-section:nth-child(even) a:hover {
    color: var(--pym-background);
}

/* Buttons */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--pym-border-radius-md);
    cursor: pointer;
    transition: background-color var(--pym-transition-duration) ease, color var(--pym-transition-duration) ease, transform var(--pym-transition-duration) ease, box-shadow var(--pym-transition-duration) ease;
    white-space: nowrap;
    border: 2px solid transparent;
}

.ct-btn-primary {
    background-color: var(--pym-accent);
    color: var(--pym-secondary);
    box-shadow: var(--pym-shadow-md);
}

.ct-btn-primary:hover {
    background-color: var(--pym-primary);
    color: var(--pym-accent);
    transform: translateY(-2px);
    box-shadow: var(--pym-shadow-lg);
}

.ct-btn-secondary {
    background-color: var(--pym-primary);
    color: var(--pym-background);
    box-shadow: var(--pym-shadow-md);
}

.ct-btn-secondary:hover {
    background-color: var(--pym-accent);
    color: var(--pym-secondary);
    transform: translateY(-2px);
    box-shadow: var(--pym-shadow-lg);
}

.ct-btn-outline {
    background-color: transparent;
    color: var(--pym-accent);
    border-color: var(--pym-accent);
}

.ct-btn-outline:hover {
    background-color: var(--pym-accent);
    color: var(--pym-secondary);
    transform: translateY(-2px);
    box-shadow: var(--pym-shadow-md);
}

.ct-btn-text-underline {
    color: var(--pym-accent);
    text-decoration: underline;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--pym-border-radius-sm);
}

.ct-btn-text-underline:hover {
    background-color: var(--pym-accent);
    color: var(--pym-secondary);
    text-decoration: none;
}

/* Header */
.ct-header {
    background-color: var(--pym-secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--pym-shadow-md);
}

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

.ct-logo {
    font-family: var(--pym-font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pym-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ct-logo:hover {
    text-decoration: none;
    color: var(--pym-background);
}

.ct-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--pym-accent);
    cursor: pointer;
    padding: 0.5rem;
}

.ct-nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.ct-nav-menu a {
    color: var(--pym-background);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

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

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

/* Hero Section */
.ct-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pym-background);
    overflow: hidden;
}

.ct-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.ct-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: -1;
}

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

.ct-hero h1 {
    color: var(--pym-background);
    margin-bottom: 1rem;
}

.ct-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Cards */
.ct-card {
    background-color: var(--pym-background);
    border-radius: var(--pym-border-radius-md);
    box-shadow: var(--pym-shadow-md);
    overflow: hidden;
    transition: transform var(--pym-transition-duration) ease, box-shadow var(--pym-transition-duration) ease;
    display: flex;
    flex-direction: column;
    color: var(--pym-text);
}

.ct-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pym-shadow-lg);
}

.ct-section:nth-child(even) .ct-card {
    background-color: var(--pym-primary);
    color: var(--pym-background);
}

.ct-section:nth-child(even) .ct-card h3, .ct-card h4 {
    color: var(--pym-accent);
}

.ct-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ct-card-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.ct-card-content h3 {
    margin-top: 0;
    color: var(--pym-primary);
    font-size: 1.75rem;
}

.ct-card-content h4 {
    margin-top: 0;
    color: var(--pym-primary);
    font-size: 1.25rem;
}

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

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

.ct-section:nth-child(even) .ct-form-group label {
    color: var(--pym-background);
}

.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: 0.75rem 1rem;
    border: 1px solid var(--pym-muted);
    border-radius: var(--pym-border-radius-md);
    font-family: var(--pym-font-body);
    font-size: 1rem;
    color: var(--pym-text);
    background-color: var(--pym-background);
    transition: border-color var(--pym-transition-duration) ease, box-shadow var(--pym-transition-duration) ease;
}

.ct-form-group input:focus,
.ct-form-group textarea:focus {
    outline: none;
    border-color: var(--pym-accent);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

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

.ct-form-success, .ct-form-error {
    padding: 1rem;
    border-radius: var(--pym-border-radius-md);
    margin-top: 1rem;
    font-weight: 600;
    display: none;
}

.ct-form-success {
    background-color: #d1fae5; /* Green-100 */
    color: #065f46; /* Green-700 */
    border: 1px solid #a7f3d0; /* Green-200 */
}

.ct-form-error {
    background-color: #fee2e2; /* Red-100 */
    color: #991b1b; /* Red-700 */
    border: 1px solid #fecaca; /* Red-200 */
}

/* Testimonials */
.ct-testimonial-card {
    background-color: var(--pym-background);
    border-radius: var(--pym-border-radius-md);
    box-shadow: var(--pym-shadow-md);
    padding: 2rem;
    text-align: center;
}

.ct-testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.ct-testimonial-author {
    font-weight: 600;
    color: var(--pym-primary);
}

.ct-section:nth-child(even) .ct-testimonial-card {
    background-color: var(--pym-primary);
    color: var(--pym-background);
}

.ct-section:nth-child(even) .ct-testimonial-author {
    color: var(--pym-accent);
}

/* Trust badges/indicators */
.ct-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--pym-secondary);
    border-radius: var(--pym-border-radius-md);
    box-shadow: var(--pym-shadow-sm);
    color: var(--pym-background);
}

.ct-trust-item svg {
    width: 3rem;
    height: 3rem;
    color: var(--pym-accent);
    margin-bottom: 1rem;
}

.ct-trust-item p {
    font-weight: 500;
    margin: 0;
}

/* FAQ Accordion */
.ct-faq-item {
    background-color: var(--pym-background);
    border-radius: var(--pym-border-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--pym-shadow-sm);
    transition: all var(--pym-transition-duration) ease;
}

.ct-faq-item.active {
    box-shadow: var(--pym-shadow-md);
}

.ct-section:nth-child(even) .ct-faq-item {
    background-color: var(--pym-primary);
    color: var(--pym-background);
}

.ct-section:nth-child(even) .ct-faq-q {
    color: var(--pym-background);
}

.ct-faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--pym-primary);
    font-size: 1.1rem;
    background-color: var(--pym-background);
    border-bottom: 1px solid var(--pym-muted);
    transition: background-color var(--pym-transition-duration) ease;
}

.ct-faq-q:hover {
    background-color: var(--pym-muted);
}

.ct-faq-item.active .ct-faq-q {
    background-color: var(--pym-secondary);
    color: var(--pym-accent);
}

.ct-faq-q svg {
    transition: transform var(--pym-transition-duration) ease;
}

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

.ct-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--pym-transition-duration) ease-out, padding var(--pym-transition-duration) ease-out;
    background-color: var(--pym-background);
    color: var(--pym-text);
}

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

.ct-section:nth-child(even) .ct-faq-a {
    background-color: var(--pym-primary);
    color: var(--pym-background);
}

/* Footer */
.ct-footer {
    background-color: var(--pym-secondary);
    color: var(--pym-muted);
    padding: 4rem 0;
    font-size: 0.9rem;
}

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

.ct-footer-col h5 {
    color: var(--pym-background);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

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

.ct-footer-col ul li a:hover {
    color: var(--pym-accent);
    text-decoration: none;
}

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

/* 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.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
    .ct-nav-menu {
        gap: 1.5rem;
    }
    .ct-hero h1 {
        font-size: 3.5rem;
    }
    .ct-hero-subtitle {
        font-size: 1.3rem;
    }
    .ct-section {
        padding: 4rem 0;
    }
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .ct-nav-toggle {
        display: block;
    }
    .ct-nav-menu {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--pym-secondary);
        padding-top: 5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: right var(--pym-transition-duration) ease-in-out;
        z-index: 999;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    .ct-nav-menu.ct-nav-open {
        right: 0;
    }
    .ct-nav-menu a {
        color: var(--pym-background);
        font-size: 1.2rem;
    }
    .ct-hero h1 {
        font-size: 2.8rem;
    }
    .ct-hero-subtitle {
        font-size: 1.1rem;
    }
    .ct-section {
        padding: 3rem 0;
    }
    .ct-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .ct-grid {
        grid-template-columns: 1fr;
    }
    .ct-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ct-faq-q {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .ct-logo {
        font-size: 1.5rem;
    }
    .ct-hero h1 {
        font-size: 2.2rem;
    }
    .ct-hero-subtitle {
        font-size: 1rem;
    }
    .ct-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
    .ct-section {
        padding: 2.5rem 0;
    }
    .ct-faq-q {
        padding: 1rem 1.25rem;
    }
    .ct-faq-item.active .ct-faq-a {
        padding: 1rem 1.25rem;
    }
}

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