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

:root {
    /* Brand Colors - adjust based on logo */
    --primary-color: #1a4d7a;
    --primary-dark: #0f3a5a;
    --primary-light: #2d6ba3;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
}

.logo-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.header-cta {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 77, 122, 0.85) 0%, rgba(15, 58, 90, 0.85) 100%),
                url('Main Banner.avif') center/cover no-repeat;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-decorative-image {
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    object-fit: contain;
}

.hero-decorative-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
}

.badge-text {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
}

.trust-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.cta-section {
    margin-top: 40px;
}

.cta-button {
    background: #ed1566;
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.cta-button:hover {
    background: #d0145a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.large {
    padding: 22px 50px;
    font-size: 20px;
}

.cta-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.9;
}

.cta-alternative {
    margin-top: 20px;
    font-size: 15px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cta-alternative span {
    opacity: 0.7;
}

.ecommerce-link {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.95;
}

.ecommerce-link:hover {
    opacity: 1;
    text-decoration-thickness: 2px;
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    line-height: 1.3;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.problem-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: white;
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 40px;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--success-color);
    stroke-width: 3;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.benefit-item div {
    color: var(--text-light);
    line-height: 1.6;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.content-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.content-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.content-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.content-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Audience Section */
.audience-section {
    padding: 80px 0;
    background: white;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.audience-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.audience-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.audience-card p {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    font-size: 16px;
    color: var(--text-light);
    margin-left: 4px;
}

.pricing-description {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 15px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-top: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    position: relative;
    padding-left: 28px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-light);
    font-size: 15px;
}

.pricing-cta {
    text-align: center;
    margin-top: 30px;
}

.ecommerce-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
}

.ecommerce-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.ecommerce-button.secondary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: white;
}

.ecommerce-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(15, 58, 90, 0.85) 0%, rgba(26, 77, 122, 0.85) 100%),
                url('Main Banner.avif') center/cover no-repeat;
    color: white;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-guarantee {
    margin-top: 24px;
    font-size: 16px;
    opacity: 0.9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-light);
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

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

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

/* Webform */
.webform {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 77, 122, 0.1);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: var(--success-color);
}

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

.form-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
}

.form-submit:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-loader {
    display: none;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

.form-privacy {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
}

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

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

.form-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--success-color);
    margin: 0 auto 20px;
    stroke-width: 2;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.form-success p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 40px;
    width: auto;
    opacity: 0.9;
}

.cyber-essentials-logo {
    height: 50px;
    max-width: 200px;
    object-fit: contain;
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

.footer-contact {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Sticky CTA Button */
.sticky-cta-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ed1566;
    color: white;
    border: none;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(237, 21, 102, 0.4);
    z-index: 999;
    font-family: inherit;
}

.sticky-cta-button:hover {
    background: #d0145a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(237, 21, 102, 0.5);
}

.sticky-cta-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-cta {
        font-size: 14px;
        padding: 8px 20px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 10px;
    }

    .modal-title {
        font-size: 24px;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 32px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .cta-buttons-group {
        max-width: 100%;
    }

    .cta-button.secondary.large {
        width: 100%;
        justify-content: center;
    }

    .problem-grid,
    .content-grid,
    .audience-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-decorative-image {
        max-width: 375px;
    }

    .problem-section,
    .solution-section,
    .content-section,
    .audience-section,
    .pricing-section {
        padding: 60px 0;
    }

    .final-cta {
        padding: 60px 0;
    }

    .sticky-cta-button {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
        font-size: 14px;
    }

    .sticky-cta-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .header-cta {
        width: 100%;
        text-align: center;
    }

    .modal-content {
        padding: 25px 15px;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }

    .cta-button.large {
        padding: 18px 36px;
        font-size: 18px;
    }

    .hero-decorative-image {
        max-width: 300px;
    }

    .sticky-cta-button {
        bottom: 15px;
        right: 15px;
        padding: 14px;
        min-width: 56px;
    }

    .sticky-cta-button span {
        display: none;
    }

    .sticky-cta-icon {
        width: 20px;
        height: 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header-cta,
    .cta-button,
    .header,
    .footer,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        padding: 20px 0;
    }
    
    .section-title {
        page-break-after: avoid;
    }
}

