/* Sales Page Specific Styles */

/* Hero Section */
.sales-hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    text-align: center;
}

.sales-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.sales-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease both;
}

.sales-hero .hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.sales-hero .hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Sales Section */
.sales-section {
    padding: 60px 0 120px;
}

.sales-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Benefits Side */
.sales-benefits h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 32px;
}

.sales-benefits .benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out both;
}

.sales-benefits .benefit-item:nth-child(2) { animation-delay: 0.1s; }
.sales-benefits .benefit-item:nth-child(3) { animation-delay: 0.2s; }
.sales-benefits .benefit-item:nth-child(4) { animation-delay: 0.3s; }
.sales-benefits .benefit-item:nth-child(5) { animation-delay: 0.4s; }

.sales-benefits .benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.12);
    border-color: var(--primary);
}

.sales-benefits .benefit-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.sales-benefits .benefit-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.sales-benefits .benefit-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Enterprise Stats */
.enterprise-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.enterprise-stat {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.enterprise-stat:nth-child(2) { animation-delay: 0.6s; }
.enterprise-stat:nth-child(3) { animation-delay: 0.7s; }

.enterprise-stat .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.enterprise-stat .stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Form Container */
.sales-form-container {
    position: sticky;
    top: 100px;
}

.sales-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    animation: slideInRight 0.6s ease-out 0.2s both;
}

.sales-form-card h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.sales-form-card .form-subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Form Styles */
.sales-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.required {
    color: #EF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    color: var(--text);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

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

/* Error state */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.05);
}

.form-group .error-message {
    font-size: 12px;
    color: #EF4444;
    margin-top: 4px;
}

/* Submit Button */
.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.sales-form .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.sales-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Privacy */
.form-privacy {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.form-privacy a {
    color: var(--primary);
    text-decoration: none;
}

.form-privacy a:hover {
    text-decoration: underline;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

.trust-badge svg {
    color: var(--primary);
}

/* Trusted Section */
.trusted-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    text-align: center;
}

.trusted-section .trusted-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.trusted-section .hospital-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trusted-section .hospital-logo {
    padding: 12px 24px;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-light);
    font-size: 14px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.trusted-section .hospital-logo:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-overlay.active {
    display: flex;
    opacity: 1;
}

.success-card {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-overlay.active .success-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Animated Checkmark */
.success-checkmark {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--primary);
    stroke-miterlimit: 10;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: var(--primary);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: var(--primary);
    stroke-width: 3;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.success-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 32px;
}

.success-button {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.success-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .sales-content {
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .sales-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .sales-form-container {
        position: static;
    }

    .sales-hero .hero-title {
        font-size: 36px;
    }

    .enterprise-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-badges {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .sales-hero {
        padding: 140px 0 60px;
    }

    .sales-section {
        padding: 40px 0 80px;
    }

    .sales-hero .hero-title {
        font-size: 28px;
    }

    .sales-hero .hero-description {
        font-size: 16px;
    }

    .sales-benefits h2 {
        font-size: 24px;
    }

    .sales-form-card {
        padding: 24px;
    }

    .sales-form-card h2 {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .enterprise-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sales-benefits .benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .sales-benefits .benefit-icon {
        margin: 0 auto;
    }

    .trusted-section .hospital-logos {
        gap: 16px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Navigation Link Styles */
.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Button */
.btn-primary {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

/* Logo link */
.logo {
    text-decoration: none;
    color: var(--text);
    cursor: pointer;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.footer .logo-image {
    filter: brightness(0) invert(1);
    width: 120px;
    height: 120px;
}

/* Footer Styles */
.footer-col a {
    display: block;
    margin-bottom: 12px;
}
