/* Import Public Sans font */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap');

/* Animations */
@keyframes pulseBlue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 74, 173, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 74, 173, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 74, 173, 0);
    }
}

/* Reset and base styling */
html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Public Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #1e1e1e;
    background-color: white;
    line-height: 1.6;
    overflow-x: hidden;
    margin-bottom: 0;
}

/* Primary accent color */
:root {
    --primary-color: #004aad;
    --primary-light: #3371c5;
    --primary-dark: #003580;
    --primary-glow: rgba(0, 74, 173, 0.15);
    --text-primary: #1e1e1e;
    --text-secondary: #666;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Public Sans', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

    a:hover {
        color: var(--primary-light);
        text-decoration: none;
    }

/* Buttons */
.btn-primary, .defaultButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px var(--primary-glow);
}

    .btn-primary i, .defaultButton i {
        margin-right: 0.5rem;
    }

    .btn-primary:hover, .defaultButton:hover {
        background-color: var(--primary-light);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px var(--primary-glow);
        color: white;
    }

    .btn-primary:active, .defaultButton:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px var(--primary-glow);
    }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

    .btn-secondary i {
        margin-right: 0.5rem;
    }

    .btn-secondary:hover {
        background-color: var(--primary-glow);
        transform: translateY(-2px);
        color: var(--primary-color);
    }

/* Header styles */
.main-header {
    width: 100%;
    background-color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

    .main-header.sticky {
        padding: 0.75rem 0;
    }

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 75px;
    transition: all 0.3s ease;
}

.main-header.sticky .header-logo {
    height: 45px;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-button {
    display: flex;
    align-items: center;
    background-color: white;
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .login-button i {
        margin-right: 0.5rem;
    }

    .login-button:hover {
        background-color: #f8f9fa;
        transform: translateY(-2px);
        color: var(--primary-color);
    }

.pricing-button {
    display: flex;
    align-items: center;
    background-color: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

    .pricing-button i {
        margin-right: 0.5rem;
    }

    .pricing-button:hover {
        background-color: var(--primary-glow);
        transform: translateY(-2px);
        color: var(--primary-color);
    }

/* Content wrapper */
.content-wrapper {
    padding-top: 80px; /* Space for fixed header */
}

/* Section container */
.section-container {
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

/* Hero section */
.hero-section {
    padding: 2rem 0;
    position: relative;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
}

.hero-image {
    margin-bottom: 2.5rem;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Features section */
.features-section {
    padding: 0.25rem 0;
    background-color: white;
}

/* Benefits section */
.benefits-section {
    padding: 1.25rem 0;
    background-color: white;
}

/* Testimonials section */
.testimonials-section {
    padding: 0.25rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -0.75rem;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
        border-radius: 3px;
    }

.testimonials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1rem 2rem 1rem 2rem;
    border: 1px solid var(--border-color);
    position: relative;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-author {
    margin-top: 1rem;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-business {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 4rem 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -100%;
        left: -100%;
        width: 300%;
        height: 300%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
        opacity: 0.7;
        z-index: 0;
        animation: pulse-light 20s infinite;
    }

@keyframes pulse-light {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
}

.cta-section .section-container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .cta-section .btn-primary:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

/* Forms */
.form-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

    .form-floating input {
        height: calc(3.5rem + 2px);
        line-height: 1.25;
        padding: 1rem 0.75rem;
        font-size: 1rem;
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        background-color: var(--background-white);
        width: 100%;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

    .form-floating label {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 1rem 0.75rem;
        overflow: hidden;
        text-align: start;
        text-overflow: ellipsis;
        white-space: nowrap;
        pointer-events: none;
        border: 1px solid transparent;
        transform-origin: 0 0;
        transition: opacity .1s ease-in-out, transform .1s ease-in-out;
        color: var(--text-secondary);
        z-index: 1;
    }

    .form-floating input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem var(--primary-glow);
        outline: 0;
    }

        .form-floating input:focus ~ label,
        .form-floating input:not(:placeholder-shown) ~ label {
            opacity: .65;
            transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
            background-color: white;
            padding: 0 0.5rem;
            margin-left: 0.5rem;
            height: auto;
        }

/* Footer Styles */
.site-footer {
    background-color: white;
    padding: 4rem 0 2rem;
    color: var(--text-primary);
}

.footer-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 2rem;
    text-align: center;
}

    .footer-logo img {
        height: 40px;
        margin-bottom: 1rem;
    }

.footer-links {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 0.75rem;
    }

        .footer-col ul li a {
            color: var(--text-secondary);
            transition: color 0.2s;
        }

            .footer-col ul li a:hover {
                color: var(--primary-color);
            }

.social-links {
    display: flex;
    gap: 1rem;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: var(--primary-glow);
        color: var(--primary-color);
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }

/* Media queries */
@media (min-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .cta-buttons {
        gap: 1.5rem;
    }

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-logo {
        width: 25%;
        text-align: left;
        margin-bottom: 0;
    }

    .footer-links {
        width: 70%;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-logo {
        width: 20%;
    }

    .footer-links {
        width: 75%;
    }
}

@media (max-width: 767px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .footer-logo {
        margin-bottom: 2.5rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Trial ended alert styles */
.trial-ended-alert {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
}

.trial-ended-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.trial-ended-content i {
    margin-right: 0.5rem;
}

.trial-ended-alert .btn {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .trial-ended-content {
        flex-direction: column;
        text-align: center;
    }
    
    .trial-ended-alert .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}
