/* Custom Styles for Komyo Landing Page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f2f0e7;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg img {
    object-fit: cover;
    object-position: center;
}

/* Header Styles */
.header {
    transition: all 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
}

.header.scrolled {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.header.scrolled .nav-menu {
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Nav Container */
.nav-container {
    opacity: 1 !important;
}

/* Navigation Links Hover Effects - Liquid Glass Style */
.nav-link {
    position: relative;
    overflow: visible;
    text-decoration: none;
    transform: none !important;
}

/* Liquid glass background on hover */
.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.1);
    transform: none !important;
}

.nav-link:hover::before {
    opacity: 1;
}

/* Subtle glow effect */
.nav-link::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        rgba(58, 57, 255, 0.15), 
        transparent 50%,
        rgba(58, 57, 255, 0.1));
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
    z-index: -1;
    transform: none !important;
}

.nav-link:hover::after {
    opacity: 1;
}

.nav-link p {
    position: relative;
    z-index: 1;
    transform: none !important;
}

/* Subtle brightness on hover - NO MOVEMENT */
.nav-link:hover p {
    color: #ffffff;
    transition: color 0.3s ease;
    transform: none !important;
}

/* CTA Button Effects */
.cta-btn {
    box-shadow: 0 4px 15px rgba(58, 57, 255, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-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;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    box-shadow: 0 6px 25px rgba(58, 57, 255, 0.6), 
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

/* Mobile Menu Animation */
.mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Title Animation Ready */
.hero-title {
    opacity: 1;
}

/* Logo Animation Ready */
.logo-container {
    opacity: 1 !important;
}

/* Nav Menu Animation Ready - Liquid Glass Effect */
.nav-menu {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(253, 253, 253, 0.05);
    position: relative;
    overflow: hidden;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* CTA Button Always Visible */
.cta-btn {
    opacity: 1 !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
}

/* Smooth Scroll Offset for Fixed Header */
section {
    scroll-margin-top: 100px;
}

/* Loading Animation */
body {
    opacity: 1;
}

.loading {
    opacity: 0;
    transform: translateY(30px);
}

/* Accessibility */
.nav-link:focus,
.cta-btn:focus,
.mobile-nav-link:focus {
    outline: 2px solid #3a39ff;
    outline-offset: 4px;
}

/* Performance Optimization */
.hero-bg img {
    will-change: transform;
}

/* Print Styles */
@media print {
    .header,
    .cta-btn,
    .mobile-menu-btn {
        display: none !important;
    }
}

/* ==========================================
   ABOUT SECTION STYLES
   ========================================== */

.about-section {
    position: relative;
}

.about-image {
    opacity: 1;
}

.about-image img {
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    opacity: 1;
}

.about-title {
    line-height: 1.2;
}

.about-text-1,
.about-text-2 {
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 1.875rem;
    }
    
    .about-text-1,
    .about-text-2 {
        text-align: left;
    }
}

/* ==========================================
   SERVICES SECTION STYLES
   ========================================== */

.services-section {
    position: relative;
}

.services-main-title {
    line-height: 1.2;
}

.services-grid {
    opacity: 1;
}

/* Service Card Styles */
.service-card {
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Card 1 - IA (Gradient) */
.service-card-1 {
    background: linear-gradient(134.68deg, #fe3c01 0.27%, #ff845e 99.73%);
    box-shadow: 0 4px 20px rgba(254, 60, 1, 0.2);
}

.service-card-1:hover {
    box-shadow: 0 12px 40px rgba(254, 60, 1, 0.4);
}

/* Card 2 - Tráfego Pago (Border) */
.service-card-2 {
    background: #f2f0e7;
    transition: all 0.4s ease;
}

.service-card-2:hover {
    background: rgba(58, 57, 255, 0.03);
    box-shadow: 0 12px 40px rgba(58, 57, 255, 0.15);
}

/* Icon containers */
.service-card .w-16.h-16 {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .w-16.h-16 {
    transform: scale(1.1) rotate(5deg);
}

/* Arrow animation on link hover */
.service-card a svg {
    transition: transform 0.3s ease;
}

.service-card a:hover svg {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-main-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .services-main-title {
        font-size: 1.875rem;
    }
    
    .service-card {
        min-height: auto;
    }
}

/* ==========================================
   RESULTS SECTION - CAROUSEL STYLES
   ========================================== */

/* Swiper Carousel Container */
.results-carousel {
    overflow: visible !important;
}

.results-carousel .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

/* Swiper Slide - Default collapsed state */
.results-carousel .swiper-slide {
    width: 414px !important;
    flex-shrink: 0;
    transition: width 0.7s cubic-bezier(0.87, 0, 0.13, 1);
}

/* Card Content Wrapper */
.card-content-wrapper {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card-content-wrapper:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Default and Expanded Views */
.default-view {
    display: block;
    opacity: 1;
}

.expanded-view {
    display: none;
    opacity: 0;
}

/* Expanded State */
.swiper-slide.expanded {
    width: 844px !important;
}

.swiper-slide.expanded .default-view {
    display: none;
}

.swiper-slide.expanded .expanded-view {
    display: flex;
    opacity: 1;
}

/* Card Image */
.card-image {
    transition: transform 0.7s cubic-bezier(0.87, 0, 0.13, 1);
}

/* Navigation Buttons */
.results-swiper-button-prev,
.results-swiper-button-next {
    cursor: pointer;
    user-select: none;
}

.results-swiper-button-prev:disabled,
.results-swiper-button-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Prevent animations during interaction */
body.is-animating {
    pointer-events: none;
}

body.is-animating .results-carousel {
    pointer-events: auto;
}

/* Responsive adjustments for results section */
@media (max-width: 1024px) {
    .results-carousel .swiper-slide {
        width: 350px !important;
    }
    
    .swiper-slide.expanded {
        width: 700px !important;
    }
}

@media (max-width: 768px) {
    .results-carousel .swiper-slide {
        width: 300px !important;
    }
    
    .swiper-slide.expanded {
        width: 90vw !important;
    }
}

/* ==========================================
   STATS SECTION STYLES
   ========================================== */

.stats-section {
    position: relative;
}

.stats-grid {
    opacity: 1;
}

.stats-text-main {
    opacity: 1;
}

.stats-title {
    line-height: 1.2;
}

.stats-subtitle {
    line-height: 1.6;
}

/* Stat Cards */
.stat-card {
    opacity: 1;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    line-height: 1.2;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-number {
    color: #3a39ff;
}

.stat-description {
    line-height: 1.6;
}

/* Stats CTA Button */
.stats-cta-btn {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(58, 57, 255, 0.4);
}

.stats-cta-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;
}

.stats-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.stats-cta-btn:hover {
    box-shadow: 0 6px 25px rgba(58, 57, 255, 0.6);
}

/* Divider Line */
.stats-cards svg {
    height: auto;
    min-height: 100px;
}

/* Responsive adjustments for stats section */
@media (max-width: 1024px) {
    .stats-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-title {
        font-size: 1.75rem;
        text-align: left;
    }
    
    .stats-subtitle {
        text-align: left;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-description {
        text-align: left;
    }
    
    .stats-cards {
        flex-direction: column;
    }
    
    .stats-cards svg {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}




