/* ITAD Intelligence - Complete Stylesheet */
/* All styling for entire website in one file */

:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #141933;
    --accent-blue: #3b82f6;
    --accent-teal: #06b6d4;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --gradient-start: #3b82f6;
    --gradient-end: #06b6d4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Header Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    animation: slideDown 0.6s ease-out;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-teal);
}

.cta-button {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero {
    padding: 180px 2rem 120px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    animation: fadeIn 1s ease-out;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    animation: slideUp 0.8s ease-out 0.6s both;
    flex-wrap: wrap;
}

.cta-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.cta-secondary {
    color: var(--text-primary);
    padding: 1.1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--border-subtle);
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-secondary:hover {
    border-color: var(--accent-teal);
    background: rgba(6, 182, 212, 0.1);
}

/* Background Decoration */
.hero-bg {
    position: absolute;
    top: 0;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

/* Section Container */
section {
    padding: 100px 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-teal);
}

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

.problem-stat {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-top: 1rem;
    display: block;
}

/* Free Analysis Section */
.analysis-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 20px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.analysis-content {
    position: relative;
    z-index: 2;
}

.analysis-section h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.analysis-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.check-icon {
    color: var(--accent-teal);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit-text strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.3rem;
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.industry-card:hover {
    border-color: var(--accent-teal);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(6, 182, 212, 0.05));
    transform: translateY(-5px);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.industry-points {
    list-style: none;
}

.industry-points li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.industry-points li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-teal);
    font-weight: 600;
}

/* Process Section */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 3rem auto;
    background: var(--secondary-dark);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background: var(--primary-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
}

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

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1.2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

/* Trust Section */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 2rem;
    background: var(--secondary-dark);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-teal);
}

.footer-section p,
.footer-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.blog-preview {
    background: var(--secondary-dark);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.blog-preview:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.blog-date {
    color: var(--accent-teal);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-preview h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-preview h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-preview h2 a:hover {
    color: var(--accent-teal);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-blue);
}

.blog-tags {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-teal);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Blog Article Page */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 2rem 80px;
}

.article-header {
    margin-bottom: 3rem;
}

.article-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.article-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content h2 {
    font-size: 2.2rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.article-content h3 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: var(--accent-teal);
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.article-content a {
    color: var(--accent-teal);
    text-decoration: underline;
}

.article-content strong {
    color: var(--text-primary);
}

.article-cta {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 12px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
}

.article-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .analysis-section {
        padding: 50px 30px;
    }
    
    .article-header h1 {
        font-size: 2.5rem;
    }
}
/* ========================================
   MOBILE RESPONSIVE FIXES
   Add this to the END of your styles.css file
   ======================================== */

/* Improve base mobile experience */
@media (max-width: 768px) {
    /* Base body adjustments */
    body {
        font-size: 16px; /* Prevents iOS zoom on input focus */
    }
    
    /* Navigation - Hamburger Menu */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--secondary-dark);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0 0 1.5rem 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    /* Mobile overlay when menu open */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 1rem 0;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Grid layouts */
    .stats-grid,
    .features-grid,
    .industries-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards */
    .stat-card,
    .feature-card,
    .industry-card,
    .step-card {
        padding: 1.5rem;
    }
    
    /* Forms */
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px; /* Prevents iOS zoom */
        padding: 1rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.75rem;
    }
    
    .footer-section a,
    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 2rem;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    /* Article pages */
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 1.5rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    /* Intake Form */
    .intake-container {
        padding: 100px 1rem 2rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .submit-button {
        font-size: 1rem;
    }
    
    /* Touch targets - Make tappable areas bigger */
    a, button, input[type="submit"], input[type="button"] {
        min-height: 44px; /* iOS recommended minimum */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .form-section h2 {
        font-size: 1.3rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}

/* Landscape phones */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 20px 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .stats-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
