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

html, body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    line-height: 1.6;
    color: #333;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.highlight {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
/* Utility Classes */
hr {
    display: none;
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: #667eea;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    margin-left: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide mobile CTA by default */
.nav-cta-mobile {
    display: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-section::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
    font-weight: 500;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border: 2px solid #667eea;
    position: relative;
}

.product-card.featured::before {
    content: 'Featured';
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: #667eea;
}

.product-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.product-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Q&A Section */
.qa-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
}

.qa-container {
    max-width: 800px;
    margin: 0 auto;
}

.qa-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.qa-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.qa-form textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.qa-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.quick-questions span {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.quick-btn {
    background: #f0f2ff;
    color: #667eea;
    border: 1px solid #e0e4ff;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: #667eea;
    color: white;
}

.response-field {
    background: #1a1a1a;
    color: #00ff88;
    padding: 30px;
    border-radius: 16px;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    min-height: 120px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #f8f9ff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.about-company h3 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-company h3:first-child {
    margin-top: 0;
}

.about-company p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.about-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    color: #555;
    line-height: 1.7;
}

.about-list li:last-child {
    border-bottom: none;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.about-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.about-stat .stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.founder-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.founder-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    text-align: center;
}

.founder-header h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.founder-info {
    padding: 30px;
}

.founder-info h4 {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.founder-title {
    color: #667eea;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.founder-bio {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.founder-experience,
.founder-expertise,
.founder-education {
    margin-bottom: 25px;
}

.founder-experience h5,
.founder-expertise h5,
.founder-education h5 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.founder-experience ul {
    list-style: none;
    padding: 0;
}

.founder-experience li {
    padding: 10px 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    border-left: 3px solid #667eea;
    padding-left: 15px;
    margin-bottom: 10px;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tags .tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.founder-education p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.founder-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.contact-link:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.about-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.about-cta h3 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-cta p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

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

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 24px;
    width: 50px;
    text-align: center;
}

.contact-method strong {
    display: block;
    margin-bottom: 5px;
}

.contact-method p {
    margin: 0;
    opacity: 0.8;
}

.contact-method a {
    color: white;
    text-decoration: none;
}

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

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
    font-size: 14px;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.lead-form select {
    color: white;
}

.lead-form select option {
    background: #333;
    color: white;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* Footer Styles */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 30px 0;
}

.site-footer p {
    margin: 0;
    font-size: 14px;
}

.site-footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #fff;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.case-studies-section {
    padding: 100px 0;
    background: white;
}






/* Blinking cursor animation */
.response-field::after {
    content: '_';
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


.subsections-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.subsections-container .subsection {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.subsections-container .subsection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.subsections-container .subsection:hover::before {
    transform: scaleY(1);
}

.subsections-container .subsection:hover {
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.subsections-container .subsection h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subsection-emoji {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    color: #667eea;
    flex-shrink: 0;
}

.subsection-emoji svg {
    width: 100%;
    height: 100%;
    stroke: #667eea;
    stroke-width: 2;
}

.subsections-container .subsection p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.subsection-features {
    margin-top: 15px;
}

.feature-tag {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin: 2px 4px 2px 0;
}

.subsection-stats {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.subsection-stats .stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.subsection-stats .stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.section {
    text-align: left;
    padding: 0;
    background: white;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.section:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.section-header {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%);
    padding: 30px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.section h3 {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: white;
}

.section-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.section-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.section-content {
    padding: 30px;
}

/* Workflow animations and connectors */
.services-section .section {
    position: relative;
    margin-bottom: 60px;
}

.services-section .section:last-child {
    margin-bottom: 40px;
}

.services-section .section:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 50px;
    background: linear-gradient(to bottom, #667eea 0%, #764ba2 70%, transparent 100%);
    z-index: 1;
    border-radius: 2px;
}

.services-section .section:not(:last-child)::before {
    content: '⬇';
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    color: #667eea;
    font-size: 20px;
    background: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    border: 2px solid #667eea;
    animation: workflowPulse 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes workflowPulse {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateX(-50%) scale(1.1);
        opacity: 1;
    }
}

/* Workflow stage numbering */
.services-section .section {
    counter-increment: workflow-step;
}

.services-section .section-header::after {
    content: 'Step ' counter(workflow-step);
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-section {
    counter-reset: workflow-step;
}

/* Enhanced section animations for workflow */
.services-section .section {
    opacity: 0;
    transform: translateY(30px);
    transition: none;
}

.services-section.workflow-active .section {
    animation: workflowSlideIn 0.8s ease forwards;
}

.services-section.workflow-active .section:nth-of-type(1) { animation-delay: 0.2s; }
.services-section.workflow-active .section:nth-of-type(2) { animation-delay: 0.6s; }
.services-section.workflow-active .section:nth-of-type(3) { animation-delay: 1.0s; }
.services-section.workflow-active .section:nth-of-type(4) { animation-delay: 1.4s; }
.services-section.workflow-active .section:nth-of-type(5) { animation-delay: 1.8s; }

@keyframes workflowSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show More Button */
.show-more-btn {
    color: #667eea;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    user-select: none;
}

.show-more-btn:hover {
    color: #764ba2;
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.show-more-btn:active {
    transform: translateY(0);
}

/* Expanded subsection styling */
.subsection.expanded {
    background: linear-gradient(135deg, #ffffff 0%, #f0f2ff 100%);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
}

.subsection.expanded::before {
    transform: scaleY(1);
}

/* Enhanced section animations */
.section-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

/* Feature tags with better animations */
.feature-tag {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.feature-tag:nth-child(1) { animation-delay: 0.1s; }
.feature-tag:nth-child(2) { animation-delay: 0.2s; }
.feature-tag:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats counter animation */
.subsection-stats .stat-number {
    position: relative;
    overflow: hidden;
}

.subsection:hover .subsection-stats .stat-number {
    animation: countUp 0.6s ease;
}

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

/* More Answers Button */
#more-answers {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-top: 20px;
    transition: all 0.3s ease;
}

#more-answers:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

#contact-us-button {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
}

#contact-us-button:hover {
    background: #667eea;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 12px 0;
    }
    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        position: relative;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    /* Hide desktop CTA */
    .header-cta {
        display: none;
    }
    
    /* Mobile navigation */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .main-nav ul li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        color: #333;
        text-align: left;
        border-bottom: none;
    }
    
    .main-nav ul li a:hover {
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    /* Show mobile CTA in nav */
    .nav-cta-mobile {
        display: block;
        padding: 20px;
        text-align: center;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-cta-mobile .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .hero-section {
        padding: 100px 0 60px;
        margin-top: 120px; /* Account for taller mobile header */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 15px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .products-section,
    .services-section,
    .case-studies-section,
    .qa-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .product-card {
        padding: 30px 25px;
        min-width: unset;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .quick-questions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .quick-questions span {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .subsections-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 40px;
        margin-top: 140px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .product-card,
    .qa-form-wrapper,
    .contact-form-wrapper {
        padding: 20px;
        margin: 0 10px;
    }
    
    .product-card h3 {
        font-size: 1.3rem;
    }
    
    .btn-large {
        padding: 14px 20px;
        font-size: 14px;
        width: 100%;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .lead-form input,
    .lead-form select,
    .lead-form textarea {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .qa-form textarea {
        padding: 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Make touch targets larger on mobile */
    .show-more-btn,
    .quick-btn {
        padding: 12px 16px;
        margin: 5px 0;
        min-height: 44px; /* iOS recommended touch target */
        display: inline-flex;
        align-items: center;
    }

    /* About section mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-company h3 {
        font-size: 1.5rem;
    }

    .founder-info {
        padding: 20px;
    }

    .founder-info h4 {
        font-size: 1.4rem;
    }

    .expertise-tags {
        gap: 6px;
    }

    .expertise-tags .tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .about-cta {
        padding: 30px 20px;
    }

    .about-cta h3 {
        font-size: 1.5rem;
    }

    .about-cta p {
        font-size: 1rem;
    }

    /* Improve mobile navigation */
    .site-footer {
        padding: 20px 0;
        text-align: center;
    }

    .site-footer a {
        display: inline-block;
        margin: 0 10px;
    }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .header-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

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

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* This could be implemented later if needed */
}

/* ============================================
   COMPACT EXPANDABLE CARDS
   ============================================ */

.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.compact-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.compact-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}

/* Header (always visible) */
.compact-card-header {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    gap: 15px;
}

.compact-card-header .product-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.compact-title-group {
    flex: 1;
}

.compact-title-group h3 {
    margin: 0 0 4px 0;
    font-size: 1.2rem;
    color: #fff;
}

.compact-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.expand-icon {
    width: 24px;
    height: 24px;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 2;
    fill: none;
}

.expand-btn:hover .expand-icon {
    stroke: #fff;
}

/* Rotate icon when expanded */
.compact-card.expanded .expand-btn {
    transform: rotate(45deg);
}

/* Body (hidden by default, shown when expanded) */
.compact-card-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}

.compact-card.expanded .compact-card-body {
    max-height: 800px;
    padding: 0 20px 20px 20px;
}

.full-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-list-compact {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.feature-list-compact li {
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    color: #a8b4ff;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.compact-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Learning section styling */
.learning-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
}

.learning-section .section-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.learning-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.learning-icon {
    background: white;
}

.learning-card {
    background: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.learning-card:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.learning-card .compact-title-group h3 {
    color: #333;
}

.learning-card .compact-subtitle {
    color: #666;
}

.learning-card .full-description {
    color: #444;
}

.learning-card .feature-list-compact li {
    color: #555;
}

.learning-card .expand-icon {
    stroke: #667eea;
}

.learning-card .product-icon svg {
    stroke: #333;
}

.products-section .compact-card .product-icon svg {
    stroke: white;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.section-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive - Compact Cards */
@media (max-width: 768px) {
    .compact-grid {
        grid-template-columns: 1fr;
    }

    .compact-card-actions {
        flex-direction: column;
    }

    .btn-sm {
        width: 100%;
    }

    .learning-section {
        padding: 60px 0;
    }
}

