/* ============================================
   Apex Dynamics Consulting - Main Stylesheet
   Optimized for Google Ads Landing Pages
   ============================================ */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Professional Consulting Color Scheme */
    --primary-blue: #1E3A8A;
    --secondary-blue: #3B82F6;
    --light-blue: #DBEAFE;
    --accent-orange: #F97316;
    --dark-gray: #1F2937;
    --medium-gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --success-green: #10B981;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* ============================================
   Typography
   ============================================ */

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-gray);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--medium-gray);
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-blue);
}

/* ============================================
   Header & Navigation
   ============================================ */

header {
    background-color: var(--white);
    color: var(--dark-gray);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.nav-menu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

.nav-menu .discount-link {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 6px;
    font-weight: 600;
}

.nav-menu .discount-link:hover {
    background-color: #EA580C;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(249, 115, 22, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-gray);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%231E3A8A" width="1200" height="400"/><circle fill="%23F97316" opacity="0.1" cx="200" cy="100" r="150"/><circle fill="%23F97316" opacity="0.1" cx="1000" cy="300" r="200"/></svg>') center/cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.95);
}

/* ============================================
   Buttons & CTAs
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #EA580C;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: var(--spacing-xl) var(--spacing-md);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 2.5rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--medium-gray);
}

/* ============================================
   Grid Layouts
   ============================================ */

.grid {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   Value Proposition Cards
   ============================================ */

.value-card {
    background-color: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-blue);
}

.value-card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-blue);
}

.value-card h3 {
    margin-bottom: var(--spacing-xs);
}

.value-card p {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   Verizon Value Prop Section
   ============================================ */

.verizon-section {
    background-color: var(--light-blue);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 12px;
    margin: var(--spacing-lg) 0;
}

.verizon-section h2 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.verizon-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.verizon-disclaimer {
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-style: italic;
    margin-top: var(--spacing-sm);
}

.verizon-section ul {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-md) 0;
}

.verizon-section li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--dark-gray);
}

.verizon-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ============================================
   Discount Callout Box
   ============================================ */

.discount-box {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #EA580C 100%);
    color: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    margin: var(--spacing-lg) 0;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.discount-box h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.discount-box p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.discount-amount {
    font-size: 3rem;
    font-weight: 700;
    margin: var(--spacing-sm) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Service Details (Accordion)
   ============================================ */

.service-details {
    background-color: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.service-summary {
    padding: var(--spacing-md);
    background-color: var(--light-gray);
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-fast);
}

.service-summary:hover {
    background-color: #E5E7EB;
}

.service-summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-fast);
}

.service-details[open] .service-summary::after {
    transform: rotate(45deg);
}

.service-content {
    padding: var(--spacing-md);
}

.service-content ul {
    list-style: none;
    padding-left: 0;
}

.service-content li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
}

.service-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.step-card {
    background-color: var(--white);
    border: 2px solid var(--secondary-blue);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-orange);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-card h3 {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonial {
    background-color: var(--white);
    border-left: 4px solid var(--secondary-blue);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* ============================================
   Contact Form
   ============================================ */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
}

.privacy-note {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-top: var(--spacing-sm);
    text-align: center;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: var(--spacing-md) auto 0;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-sm);
    border-radius: 4px;
    margin-top: var(--spacing-sm);
    font-size: 0.75rem;
    line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Benefits List
   ============================================ */

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-md) 0;
}

.benefits-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-md);
    position: relative;
    font-size: 1.125rem;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 1.5rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .how-it-works {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: var(--spacing-sm);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .hero h1 {
        font-size: 1.875rem;
    }
    
    .section {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .discount-amount {
        font-size: 2rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.highlight {
    background-color: var(--light-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

