/* HACKSACK Theme for Forcefield
   This file ensures the Forcefield site matches the main HACKSACK site design */

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px; /* Changed back to 80px */
    padding: 0; /* Keeping padding removed */
}

.logo {
    display: flex;
    align-items: center;
}

.logo .main-logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-family: var(--font-heading);
}

.logo .product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--gray-light);
    color: var(--gray-dark);
    font-family: var(--font-heading);
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-md); /* Reduced spacing between nav items */
    margin: 0;
    padding: 0;
    align-items: center; /* Align items vertically */
}

nav ul li a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem; /* Changed back to original size */
    color: var(--gray-dark);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0; /* Removed all padding */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xxl);
    width: 100%; /* Ensure full width */
    padding: 0 1rem; /* Add some padding for mobile */
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #8b5cf6);
    border-radius: var(--radius-full);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-medium);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
}

.footer-logo {
    margin-bottom: var(--space-lg);
}

.footer-logo .main-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-heading);
}

.footer-logo .product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--gray-light);
    font-family: var(--font-heading);
}

.footer-column h4 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul li a {
    color: var(--gray-light);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    margin-top: var(--space-xxl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--gray-light);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px; /* Adjusted top padding for 80px header */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.7), rgba(139, 92, 246, 0.7));
    opacity: 0.8;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto; /* Center the content */
    text-align: center; /* Center the text */
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: white;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center; /* Center the buttons */
}

/* Feature Cards */
.feature-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #8b5cf6);
    z-index: -1;
}

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

/* Responsive Adjustments */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* CSS Variables */
:root {
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}
/* Scan Section */
.scan {
    padding: var(--space-xxl) 0;
    background-color: var(--light);
}

.scan-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.scan-form-container {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.scan-results {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.scan-results h3 {
    margin-bottom: var(--space-lg);
    color: var(--dark);
    position: relative;
}

.scan-results h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), #8b5cf6);
    border-radius: var(--radius-full);
}

.results-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background-color: var(--light);
    border-radius: var(--radius-md);
    color: var(--gray-medium);
}

/* Form Styling */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--gray-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: var(--space-lg);
}

.form-group.checkbox input {
    margin-top: 0.3rem; /* Align with the first line of text */
    margin-right: 0.75rem;
    flex-shrink: 0;
    width: auto; /* Ensure checkbox keeps its natural size */
}

.form-group.checkbox label {
    flex: 1;
    margin-bottom: 0;
    font-weight: normal; /* Make the text less bold */
    font-size: 0.95rem; /* Slightly smaller text */
    line-height: 1.4; /* Better line height for readability */
}

.form-group.actions {
    display: flex;
    justify-content: center; /* Center the button */
    margin-top: 2rem;
    width: 100%; /* Ensure full width */
}

/* Pricing Cards */
.pricing-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #8b5cf6);
    z-index: -1;
}

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

.pricing-card .featured-label {
    position: absolute;
    top: 20px;
    right: -55px;
    background: linear-gradient(to right, var(--primary-color), #8b5cf6);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
    text-align: right;
    z-index: 2; /* Ensure it's above other elements */
}

/* How It Works Section */
.how-it-works {
    padding: var(--space-xxl) 0;
    background-color: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.step {
    position: relative;
    padding: var(--space-xl);
    background-color: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, var(--primary-color), #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}
/* Header Buttons */
nav ul li a.btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

nav ul li a.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

nav ul li a.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

nav ul li a.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
/* Responsive adjustments for header buttons */
@media (max-width: 768px) {
    nav ul li a.btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    nav ul {
        gap: var(--space-sm);
    }
}
/* Disabled button styles */
.btn-disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #a0aec0;
    border-color: #a0aec0;
    color: white;
    transform: none !important;
    box-shadow: none !important;
}
