/* A Square Ops - Shared Styles */
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* Navigation styles - Standardized navbar from index.html */
.navbar {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: 1rem;
    flex-wrap: nowrap;
}

.logo {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo {
    display: block;
}

.nav-logo-image {
    height: 40px;
    width: auto;
}

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

.nav-links li {
    margin: 0;
    white-space: nowrap;
}

.nav-link {
    color: #2D3748;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 8px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-link.active {
    color: #00ACAC;
    background-color: rgba(0, 172, 172, 0.1);
}

.nav-link:hover {
    color: #00ACAC;
}

.nav-links .cta-button {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta {
    background-color: #00acac;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 172, 172, 0.3);
}

.nav-cta:hover {
    background-color: #008f8f;
    color: white;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu svg {
    width: 24px;
    height: 24px;
    color: #2D3748;
}

.mobile-menu:hover {
    background-color: #F7FAFC;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #E6F1FF;
    cursor: pointer;
    width: 32px;
    height: 32px;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #FFFFFF;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        border-radius: 0 0 16px 16px;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        display: block;
        text-align: center;
        transition: background-color 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: #F7FAFC;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Header styles */
.hero-section {
    background: linear-gradient(135deg, #0a192f, #172a45);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(10, 25, 47, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 25, 47, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #38E7F0, #00CACA, #00ACAC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 10px;
}

.hero-content .hero-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #E6F1FF;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    padding: 0 10px;
}

/* Section styles */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: #222;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #38E7F0, #00ACAC);
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.3rem;
    max-width: 800px;
    margin: 2rem auto 3rem;
    font-weight: 400;
}

/* Card styles */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 600;
}

.card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

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

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

/* CTA Button styles */
.cta-button {
    display: inline-block;
    border: 1px solid #00acac;
    background-color: rgba(0, 172, 172, 0.1);
    color: #00acac;
    padding: 8px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0;
    flex-shrink: 0;
}

.cta-primary {
    background-color: #00acac;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #00acac;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.cta-primary:hover {
    background-color: #008f8f;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

.cta-section {
    background: linear-gradient(to right, #3490DC, #38A89D);
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-white {
    background-color: white;
    color: #3490DC;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-white:hover {
    background-color: #f8fafc;
    color: #3490DC;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cta-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-2px);
}

/* Feature tags */
.feature-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
}

.feature-tag.blue {
    background-color: rgba(52, 144, 220, 0.1);
    color: #3490DC;
}

.feature-tag.teal {
    background-color: rgba(56, 168, 157, 0.1);
    color: #38A89D;
}

.feature-tag.purple {
    background-color: rgba(107, 70, 193, 0.1);
    color: #6b46c1;
}

.feature-tag.orange {
    background-color: rgba(237, 137, 54, 0.1);
    color: #ed8936;
}

.feature-tag.green {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

/* Contact section */
.contact {
    padding: 3rem 0;
    background-color: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
}

.contact p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.contact-header:hover {
    background-color: rgba(0, 172, 172, 0.05);
    border-radius: 8px;
}

.contact-icon {
    min-width: 24px;
    height: 24px;
    color: #00acac;
}

.contact-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    word-break: break-word;
}

.contact-link:hover {
    color: #00acac;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 172, 172, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(49, 130, 206, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-tagline {
    font-size: 1.1rem;
    color: #00ACAC;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #00ACAC, #3182CE);
    margin: 0 auto 1.5rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

footer {
    background-color: #1a202c;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    .hero-section {
        padding: 80px 0 30px;
    }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Ensure all images are visible on mobile */
    img {
        display: block !important;
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .product-image,
    .case-study-image,
    .resource-icon {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    .contact-info {
        padding: 1rem;
    }
    .contact-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Page-specific styles */
.page-header {
    background: linear-gradient(135deg, #0a192f, #172a45);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Product showcase */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem 0;
}

.product-image {
    width: 100%;
    height: 400px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
}

.product-details h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 600;
}

.product-details .feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.product-details .feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
}

.product-details .feature-list li::before {
    content: "✓";
    color: #00acac;
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Case study cards */
.case-study-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-study-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #00acac, #38A89D);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.case-study-content {
    padding: 1.5rem;
}

.case-study-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #222;
    font-weight: 600;
}

.case-study-meta {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.case-study-content p {
    color: #64748b;
    margin-bottom: 1rem;
}

/* Resource cards */
.resource-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.resource-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 172, 172, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #00acac;
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 600;
}

.resource-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.download-btn {
    background-color: #00acac;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.download-btn:hover {
    background-color: #008f8f;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}
