/* ========================================
   CoreTech3 Modern Minimalist Enhancements
   Enhanced Design System v2.0
   ======================================== */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Root Variables for Consistent Design */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ffd700;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Hero Section Enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(20px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero-trust-indicators {
    animation: fadeIn 1s ease-out 0.3s both;
}

.hero-cta-buttons {
    animation: fadeIn 1s ease-out 0.5s both;
}

.hero-cta-buttons .btn {
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-cta-buttons .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-cta-buttons .btn:hover::after {
    width: 300px;
    height: 300px;
}

.hero-image {
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-image img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    animation: floatImage 6s ease-in-out infinite;
}

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

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

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

/* Technology Stack Hover Effects */
.tech-item {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 12px;
}

.tech-item:hover {
    transform: translateY(-10px);
    background: #f8f9fa;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-item i {
    transition: all 0.3s ease;
}

.tech-item:hover i {
    transform: scale(1.1);
}

/* Service Cards Modern Styling */
.service-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}

.service-card-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-thumb img {
    transform: scale(1.05);
}

.service-card-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-thumb::after {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card-thumb {
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.service-card-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-card-thumb::after {
    opacity: 0.1;
}

.service-card:hover .service-card-thumb img {
    transform: scale(1.08);
}

.service-card-thumb img {
    transition: var(--transition);
}

/* Remove random background colors from service cards */
.service-card[style*="background-color"] {
    background-color: #ffffff !important;
}

/* Add gradient border on top */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-thumb {
    height: 200px;
    overflow: hidden;
}

.service-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-body h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    transition: var(--transition);
    font-size: 1.25rem;
    min-height: 60px;
}

.service-card:hover .service-card-body h3 {
    color: var(--primary-color);
}

.service-card-body p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem;
}

.redirect-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.redirect-link:hover {
    gap: 12px;
    color: var(--secondary-color);
}

.redirect-link i {
    transition: var(--transition);
}

/* Feature Cards Enhancement */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.feature-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-body p {
    flex-grow: 1;
}

/* About Section Enhancements */
.about-section {
    position: relative;
}

.about-item-image img {
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.about-item-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.about-content a:hover {
    border-bottom-color: var(--primary-color);
}

/* Counter Section Enhancement */
.count-section {
    margin-top: 60px;
}

.appie-single-counter {
    transition: var(--transition);
    border-radius: var(--border-radius);
    padding: 20px 15px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    align-items: center;
}

.appie-single-counter:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.counter-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.counter-content .icon {
    transition: var(--transition);
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-content .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.appie-single-counter:hover .counter-content .icon {
    transform: scale(1.1) rotate(5deg);
}

.counter-content > div {
    flex: 1;
    min-width: 0;
}

.counter-content .title {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.counter-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Testimonial Cards Modern Design */
.testimonial-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card-info-thumb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.testimonial-card-info-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Professional Blog Cards */
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e2e8f0;
    position: relative;
    min-height: 450px;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.blog-card-image {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 220px;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, transparent 50%);
    border-radius: 12px 12px 0 0;
}

.blog-card-text {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-text h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-card-text h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card-text h3 a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-entry {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.blog-entry-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
    border: 2px solid #e2e8f0;
}

.blog-entry-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-entry-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.blog-entry-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.blog-read-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

/* Process Cards Enhancement */
.process-item {
    transition: all 0.3s ease;
    border-radius: 12px;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.process-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.process-text h3 {
    min-height: 50px;
}

.process-text p {
    flex-grow: 1;
}

.process-thumb h1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Client Logos Enhancement */
.client-logo-item:hover {
    opacity: 1 !important;
}

.client-logo-item > div {
    transition: all 0.3s ease;
}

.client-logo-item:hover > div {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Metric Cards Enhancement */
.metric-card {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.metric-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.metric-card h3 {
    margin-bottom: 10px;
}

.metric-card p {
    margin: 0;
}

/* Button Enhancements */
.btn {
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.main-btn {
    background: var(--primary-gradient) !important;
    color: white !important;
    padding: 14px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: none !important;
}

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

.main-btn-white {
    background: white !important;
    color: var(--primary-color) !important;
    padding: 14px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none !important;
}

.main-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-color) !important;
}

.main-btn-outline {
    background: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    padding: 14px 35px;
    border-radius: 8px;
}

.main-btn-outline:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

.main-btn-rounded-icon {
    border-radius: 50px;
    padding: 14px 35px;
}

.main-btn-rounded-icon span {
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    color: var(--primary-color);
}

/* Fix for inline button styles in HTML */
[style*="background-color: white"] {
    background-color: white !important;
    color: var(--primary-color) !important;
    border: none !important;
}

[style*="border: 2px solid white"] {
    border: 2px solid white !important;
    color: white !important;
}

[style*="background: transparent"] {
    background: transparent !important;
}

/* Fix for buttons with inline styles */
.btn[style] {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
}

/* Fix for white buttons */
.btn[style*="background-color: white"] {
    background-color: white !important;
    color: var(--primary-color) !important;
    border: none !important;
}

/* Fix for outline buttons */
.btn[style*="border: 2px solid white"] {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
}

.main-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.main-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* CTA Sections */
.trial-section, .final-cta-section {
    position: relative;
    overflow: hidden;
}

.trial-section::before,
.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.trial-section::after,
.final-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

/* Section Backgrounds */
.bg-off-white {
    background-color: var(--bg-light) !important;
}

section {
    position: relative;
}

/* Section Title Enhancement */
.section-title {
    margin-bottom: 40px;
}

.section-title small {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.section-title h2 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-title h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.section-title-left {
    text-align: left !important;
}

.section-title-left p {
    margin: 0;
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

/* Spacing Utilities */
.pt-min-100 {
    padding-top: 60px;
}

.pt-100 {
    padding-top: 60px;
}

.pb-70 {
    padding-bottom: 40px;
}

.pb-100 {
    padding-bottom: 60px;
}

.pb-30 {
    padding-bottom: 20px;
}

.pt-150 {
    padding-top: 80px;
}

/* Global Typography Improvements */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive Improvements */
@media (max-width: 1200px) {
    .hero-section {
        min-height: 500px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }
    
    .hero-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .hero-cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        margin-right: 0 !important;
        padding: 12px 30px;
    }
    
    .tech-item {
        margin-bottom: 20px;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .pt-150 {
        padding-top: 80px;
    }
    
    .pt-100 {
        padding-top: 60px;
    }
    
    .pb-100 {
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    
    .counter-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .metric-card h3 {
        font-size: 2.5rem !important;
    }
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Improved Focus States for Accessibility */
a:focus, button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth Transitions for All Interactive Elements */
a, button, .btn, .card, .service-card, .blog-card, .testimonial-card {
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Made with Bob */


/* ========================================
   Portfolio Page Styles
   ======================================== */

/* Portfolio Hero Section */
.portfolio-hero-section {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.portfolio-hero-section .section-title {
    position: relative;
    z-index: 1;
}

.portfolio-hero-section .section-title small {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
}

.portfolio-hero-section .section-title h2 {
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
}

.portfolio-hero-section .section-title h2 span {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-hero-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Portfolio Section */
.portfolio-section {
    background: #f8f9fa;
    position: relative;
}

/* Portfolio Card */
.portfolio-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

/* Portfolio Card Image */
.portfolio-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.1);
}

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    text-align: center;
    color: #ffffff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-overlay-content i {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.portfolio-overlay-content span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Portfolio Card Content */
.portfolio-card-content {
    padding: 30px;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-title {
    color: #667eea;
}

.portfolio-description {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Portfolio Tags */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-tag {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Portfolio CTA */
.portfolio-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

.portfolio-cta h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.portfolio-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.portfolio-cta .main-btn {
    background: #ffffff;
    color: #667eea;
    padding: 15px 40px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.portfolio-cta .main-btn:hover {
    background: #f7fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 992px) {
    .portfolio-hero-section {
        padding: 100px 0 50px;
    }
    
    .portfolio-hero-section .section-title h2 {
        font-size: 2.5rem;
    }
    
    .portfolio-card-image {
        height: 240px;
    }
    
    .portfolio-cta h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .portfolio-hero-section {
        padding: 80px 0 40px;
    }
    
    .portfolio-hero-section .section-title h2 {
        font-size: 2rem;
    }
    
    .portfolio-hero-section .section-title p {
        font-size: 1rem;
    }
    
    .portfolio-card-image {
        height: 220px;
    }
    
    .portfolio-card-content {
        padding: 25px;
    }
    
    .portfolio-title {
        font-size: 1.3rem;
    }
    
    .portfolio-description {
        font-size: 0.9rem;
    }
    
    .portfolio-cta {
        padding: 40px 30px;
    }
    
    .portfolio-cta h3 {
        font-size: 1.5rem;
    }
    
    .portfolio-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .portfolio-hero-section {
        padding: 60px 0 30px;
    }
    
    .portfolio-hero-section .section-title h2 {
        font-size: 1.75rem;
    }
    
    .portfolio-card-image {
        height: 200px;
    }
    
    .portfolio-overlay-content i {
        font-size: 36px;
    }
    
    .portfolio-overlay-content span {
        font-size: 14px;
    }
    
    .portfolio-cta {
        padding: 30px 20px;
    }
    
    .portfolio-cta h3 {
        font-size: 1.3rem;
    }
}


/* ========================================
   Service Pages Styles
   ======================================== */

/* Service Hero Section */
.service-hero-section {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.service-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.service-hero-content {
    position: relative;
    z-index: 1;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 30px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-badge i {
    font-size: 20px;
}

.service-hero-content h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.service-hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 600px;
}

.service-hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.service-hero-buttons .main-btn {
    background: #ffffff;
    color: #667eea;
    padding: 15px 35px;
    font-weight: 600;
}

.service-hero-buttons .main-btn:hover {
    background: #f7fafc;
    transform: translateY(-3px);
}

.service-hero-buttons .main-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.service-hero-buttons .main-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.service-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-item h3 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.service-hero-image {
    position: relative;
    z-index: 1;
    animation: floatImage 3s ease-in-out infinite;
}

.service-hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Service Overview Section */
.service-overview-section {
    background: #ffffff;
}

.service-overview-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
}

.service-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.highlight-item i {
    font-size: 24px;
    color: #667eea;
}

.highlight-item span {
    font-weight: 600;
    color: #2d3748;
}

.service-overview-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.overview-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 16px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.overview-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.overview-card-icon i {
    font-size: 30px;
    color: #ffffff;
}

.overview-card h4 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.overview-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Service Features Section */
.service-features-section {
    background: #f8f9fa;
}

.service-feature-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
}

.service-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.service-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-feature-card:hover .service-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-feature-icon img {
    width: 45px;
    height: 45px;
    filter: brightness(0) invert(1);
}

.service-feature-card h3 {
    color: #2d3748;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-feature-card > p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.feature-list li {
    color: #4a5568;
    font-size: 0.9rem;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Technology Stack Section */
.tech-stack-section {
    background: #ffffff;
}

.tech-stack-card {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 16px;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tech-stack-card:hover {
    background: #ffffff;
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.tech-stack-header {
    text-align: center;
    margin-bottom: 25px;
}

.tech-stack-header i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.tech-stack-header h4 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    color: #4a5568;
    font-size: 0.95rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-list li i {
    color: #667eea;
    font-size: 16px;
}

/* Development Process Section */
.development-process-section {
    background: #f8f9fa;
}

.process-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    height: 100%;
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid #e2e8f0;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.process-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.process-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.process-icon i {
    font-size: 32px;
    color: #667eea;
}

.process-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-card p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* E-commerce Section */
.ecommerce-section {
    background: #ffffff;
}

.ecommerce-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 30px;
}

.ecommerce-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ecommerce-feature:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.ecommerce-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ecommerce-feature-icon i {
    font-size: 28px;
    color: #ffffff;
}

.ecommerce-feature-content h4 {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ecommerce-feature-content p {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.ecommerce-benefits {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 16px;
    color: #ffffff;
}

.ecommerce-benefits h4 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.benefit-item i {
    font-size: 24px;
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 3px;
}

.benefit-item h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Service CTA Section */
.service-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.service-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.service-cta-content {
    position: relative;
    z-index: 1;
}

.service-cta-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-cta-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.service-cta-content .main-btn-white {
    background: #ffffff;
    color: #667eea;
    padding: 15px 40px;
    font-weight: 600;
    white-space: nowrap;
}

.service-cta-content .main-btn-white:hover {
    background: #f7fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 992px) {
    .service-hero-section {
        padding: 120px 0 80px;
    }
    
    .service-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-hero-content p {
        font-size: 1.1rem;
    }
    
    .service-stats {
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .service-highlights {
        grid-template-columns: 1fr;
    }
    
    .service-cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .service-hero-section {
        padding: 100px 0 60px;
    }
    
    .service-hero-content h1 {
        font-size: 2rem;
    }
    
    .service-hero-content p {
        font-size: 1rem;
    }
    
    .service-hero-buttons {
        flex-direction: column;
    }
    
    .service-hero-buttons .main-btn,
    .service-hero-buttons .main-btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .service-stats {
        gap: 20px;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .service-feature-card,
    .tech-stack-card,
    .process-card {
        padding: 25px;
    }
    
    .ecommerce-feature {
        flex-direction: column;
    }
    
    .ecommerce-benefits {
        padding: 30px;
    }
    
    .service-cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .service-cta-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .service-cta-content .main-btn-white {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .service-hero-section {
        padding: 80px 0 50px;
    }
    
    .service-hero-content h1 {
        font-size: 1.75rem;
    }
    
    .service-badge {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
    
    .overview-card {
        padding: 25px;
    }
    
    .service-cta-content h2 {
        font-size: 1.5rem;
    }
}

/* ========== Homepage (index) — professional polish ========== */
/* Use element + classes so theme resets cannot strip the surface; include fallback color if gradient fails */
section.home-hero-pro.hero-section,
section.sp-api-hero.hero-section {
    padding-top: clamp(4rem, 11vw, 6.5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
    background-color: #0f172a;
    background-image: linear-gradient(155deg, #0f172a 0%, #1e1b4b 46%, #4338ca 100%);
    color: #f8fafc;
}

section.home-hero-pro.hero-section::before,
section.home-hero-pro.hero-section::after,
section.sp-api-hero.hero-section::before,
section.sp-api-hero.hero-section::after {
    display: none !important;
}

.home-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

section.home-hero-pro .hero-content,
section.sp-api-hero .hero-content {
    animation: none;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #e0e7ff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.home-hero-title {
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 700;
    line-height: 1.14;
    color: #f8fafc;
    letter-spacing: -0.025em;
    margin-bottom: 0;
}

section.home-hero-pro .text-gradient-accent,
section.sp-api-hero .text-gradient-accent {
    background: linear-gradient(92deg, #38bdf8, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-hero-lead {
    font-size: 1.125rem;
    line-height: 1.72;
    color: #cbd5e1;
    max-width: 38rem;
    margin-bottom: 0;
}

.home-hero-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 12px;
    padding: 0.85rem 0.5rem;
}

.home-hero-stat-card h3 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.home-hero-stat-card p {
    margin: 0;
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-home-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.38) !important;
    color: #f1f5f9 !important;
    background: transparent !important;
    font-weight: 600;
    transition: var(--transition);
}

.btn-home-outline-light:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
    color: #fff !important;
}

.home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.75rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.home-trust-row li {
    display: inline-flex;
    align-items: center;
}

.home-trust-row i {
    color: #38bdf8;
    margin-right: 0.4rem;
    font-size: 0.95rem;
}

.home-hero-visual img {
    border-radius: 16px;
    box-shadow: 0 28px 55px -18px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.home-eyebrow {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.home-heading {
    line-height: 1.25;
}

.home-prose p {
    margin-bottom: 1.15rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
}

.home-prose p:last-of-type {
    margin-bottom: 0;
}

.home-prose a {
    color: var(--primary-color);
    font-weight: 600;
    text-underline-offset: 3px;
}

.home-about-main-shot img {
    box-shadow: var(--shadow-md);
}

.home-about-tile {
    border-radius: 14px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 148px;
}

.home-about-tile--brand {
    background: linear-gradient(145deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.35);
}

.home-about-tile--muted {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.home-about-tile-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: inherit;
}

.home-about-tile--muted .home-about-tile-title {
    color: var(--text-dark);
}

.home-about-tile-icon {
    margin-bottom: 0.85rem;
}

.home-about-tile-icon--light {
    filter: brightness(0) invert(1);
}

.home-client-chip {
    padding: 0;
}

.home-client-chip-inner {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    transition: var(--transition);
}

.home-client-chip:hover .home-client-chip-inner {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.clients-strip-label {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
}

.home-tech-compact {
    padding: 1.35rem 1rem !important;
    border-radius: 14px !important;
}

.home-tech-compact .tech-stack-header {
    margin-bottom: 0 !important;
}

.home-tech-compact .tech-stack-header h4 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    margin-top: 0.65rem !important;
    margin-bottom: 0 !important;
}

.home-tech-icon {
    font-size: 2.35rem !important;
    display: block;
}

.home-metrics-band {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
}

.home-metric-card {
    padding: 2rem 1.25rem !important;
    border-radius: 14px !important;
}

.home-metric-value {
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
}

.home-metric-value--cyan {
    color: #0ea7ff !important;
}

.home-metric-value--purple {
    color: var(--primary-color) !important;
}

.home-metric-value--green {
    color: #198754 !important;
}

.home-metric-value--amber {
    color: #fd7e14 !important;
}

.home-trial-lead {
    max-width: 760px;
    opacity: 0.88;
    line-height: 1.65;
}

.home-trial-lead a {
    color: #fff !important;
}

.home-final-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #312e81 0%, #4338ca 48%, #6366f1 100%);
}

.home-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 30%, rgba(56, 189, 248, 0.18), transparent 42%),
        radial-gradient(circle at 85% 70%, rgba(196, 181, 253, 0.25), transparent 45%);
    pointer-events: none;
}

.home-final-cta-title {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 700;
}

.home-final-cta-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    opacity: 0.92;
    max-width: 560px;
}

.home-final-cta-contact {
    font-size: 1.05rem;
    opacity: 0.92;
}

.home-final-cta-contact a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 575.98px) {
    .home-hero-metrics .col-4 {
        padding-left: 6px;
        padding-right: 6px;
    }

    .home-hero-stat-card {
        padding: 0.65rem 0.35rem;
    }

    .home-hero-stat-card h3 {
        font-size: 1.25rem;
    }

    .home-hero-stat-card p {
        font-size: 0.68rem;
    }
}

/* SP-API service page */
.sp-api-hero-logo {
    max-width: min(100%, 340px);
    height: auto;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.4));
}

/* ========== Homepage layout (.page-home on index only) ========== */
.page-home .home-section {
    padding-block: clamp(3.25rem, 7.5vw, 5.75rem);
}

.page-home .home-section-head {
    text-align: center;
    max-width: 42rem;
    margin-inline: auto;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.page-home .home-section-head.section-title-lg h2,
.page-home .home-section-head h2 {
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.page-home .home-section-head .home-eyebrow + h2 {
    margin-top: 0.65rem;
}

.page-home .home-section-lede {
    max-width: 40rem;
    margin: 0.85rem auto 0;
    color: #64748b;
    font-size: clamp(0.9375rem, 1.85vw, 1.0625rem);
    line-height: 1.68;
}

.page-home .home-section-lede.text-muted {
    color: #64748b !important;
}

.page-home .home-heading {
    font-size: clamp(1.45rem, 2.85vw, 2rem);
    line-height: 1.25;
}

.page-home .service-card {
    min-height: 0 !important;
}

.page-home .service-card-body {
    padding: 1.35rem 1.35rem 1.5rem;
}

.page-home .service-card-body h3 {
    min-height: 0;
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
}

.page-home .service-card-body p {
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.page-home .feature-card {
    height: 100%;
}

.page-home .feature-card-body p {
    font-size: 0.94rem;
    line-height: 1.62;
    color: #4a5568;
}

.page-home .trial-section.home-final-cta .home-section-head {
    max-width: 44rem;
    margin-bottom: 0;
}

.page-home .trial-section.home-final-cta .home-final-cta-title {
    color: #fff;
}

@media (max-width: 575.98px) {
    .page-home .service-card-body p {
        -webkit-line-clamp: 5;
    }
}
