/* ===================================
   COMPONENTS LIBRARY
   =================================== */

/* ===================================
   BUTTON STYLES
   =================================== */

.btn {
    display: inline-block;
    font-weight: var(--font-bold);
    text-align: center;
    border-radius: var(--custom-radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn--primary {
    background-color: var(--color-accent);
    color: white;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn--primary:hover {
    background-color: var(--color-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    border: 1px solid var(--color-border);
    color: var(--color-secondary);
    background-color: transparent;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.btn--secondary:hover {
    background-color: var(--bg-dark);
    transform: translateY(-1px);
}

.btn--icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===================================
   HERO CTA BUTTON - MODERN DESIGN
   =================================== */

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #005da6 100%);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 103, 184, 0.3);
    border: 2px solid transparent;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #005da6 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-cta:hover::before {
    opacity: 1;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 103, 184, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-cta__icon-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.hero-cta:hover .hero-cta__icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg) scale(1.1);
}

.hero-cta__icon {
    font-size: 0.875rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.hero-cta:hover .hero-cta__icon {
    transform: rotate(-45deg);
}

.hero-cta__text {
    position: relative;
    font-size: 1rem;
    letter-spacing: 0.02em;
    z-index: 2;
}

.hero-cta__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 3;
    pointer-events: none;
}

.hero-cta:hover .hero-cta__shine {
    left: 100%;
}

/* Responsive adjustments for hero CTA */
@media (max-width: 640px) {
    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .hero-cta__icon-wrapper {
        width: 28px;
        height: 28px;
    }

    .hero-cta__icon {
        font-size: 0.75rem;
    }
}

/* ===================================
   SECTION HEADERS
   =================================== */

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header__label {
    color: var(--color-accent);
    font-weight: var(--font-bold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.section-header__title {
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--color-secondary);
}

@media (min-width: 768px) {
    .section-header__title {
        font-size: 2.5rem;
    }
}

/* ===================================
   PILLAR HEADER
   =================================== */

.pillar-header {
    margin-bottom: 5rem;
}

.pillar-header__top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pillar-header__icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 103, 184, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.pillar-header__title {
    font-size: 2rem;
    font-weight: var(--font-bold);
    letter-spacing: -0.025em;
    color: var(--color-secondary);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .pillar-header__title {
        font-size: 2.5rem;
    }
}

.pillar-header__description {
    font-size: 1.125rem;
    color: var(--color-text);
    max-width: 48rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* ===================================
   FORM ELEMENTS
   =================================== */

.form-input {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: var(--custom-radius-sm);
    padding: 0.875rem 1.25rem;
    color: var(--color-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 103, 184, 0.1);
}

.form-input::placeholder {
    color: var(--color-text);
    opacity: 0.6;
}