/* 
   Fubuki Soft Website Styles
   Blue and white color scheme with smooth animations
*/

:root {
    --primary-blue: #1DA1F2;
    --secondary-blue: #0D8ED9;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #343A40;
    --accent-blue: #E8F5FE;
    --transition-speed: 0.3s;
}

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    background-color: var(--primary-blue);
    padding: 1rem 0;
    transition: all var(--transition-speed);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all var(--transition-speed);
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-blue);
}

.navbar .btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.navbar .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.navbar .btn-light {
    color: var(--primary-blue);
}

.navbar .btn-light:hover {
    background-color: var(--accent-blue);
}

.navbar-toggler {
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

#hero .container {
    position: relative;
    z-index: 1;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

.snowflake-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath fill='%23ffffff' d='M25,0 L30,20 L50,25 L30,30 L25,50 L20,30 L0,25 L20,20 z'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    animation: snowflake-drift 60s linear infinite;
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1' d='M10,10 L90,10 L90,90 L10,90 z M30,10 L30,90 M50,10 L50,90 M70,10 L70,90 M10,30 L90,30 M10,50 L90,50 M10,70 L90,70'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    opacity: 0.5;
}

@keyframes snowflake-drift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 500px 500px;
    }
}

.hero-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.hero-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Core Capabilities Section */
#capabilities {
    padding: 5rem 0;
}

.capability-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
}

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

.icon-container {
    width: 80px;
    height: 80px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-container i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.capability-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Client Trust Section */
#trust {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.logo-placeholder {
    width: 150px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-blue);
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: #666;
    margin: 0;
}

/* Advantage Section */
#advantage {
    padding: 5rem 0;
}

.advantage-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    color: #666;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.advantage-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Use Cases Section */
#use-cases {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.use-case-tabs .nav-pills {
    margin-bottom: 2rem;
}

.use-case-tabs .nav-link {
    color: var(--dark-gray);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    transition: all var(--transition-speed);
}

.use-case-tabs .nav-link.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.use-case-features {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.use-case-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.use-case-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

.use-case-roi {
    font-weight: 600;
    color: var(--primary-blue);
}

.use-case-image {
    width: 100%;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.healthcare-image {
}

.retail-image {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Crect width='200' height='200' fill='%23E8F5FE'/%3E%3Cpath d='M50,80 L50,160 L150,160 L150,80 M30,80 L170,80 M100,40 L100,80' stroke='%231DA1F2' stroke-width='10' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

.hospitality-image {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Crect width='200' height='200' fill='%23E8F5FE'/%3E%3Cpath d='M50,100 L50,160 L150,160 L150,100 M30,100 L170,100 M100,40 L100,100 M70,70 L130,70' stroke='%231DA1F2' stroke-width='10' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

.public-image {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Crect width='200' height='200' fill='%23E8F5FE'/%3E%3Cpath d='M40,160 L160,160 M50,120 L50,160 M100,120 L100,160 M150,120 L150,160 M30,120 L170,120 M100,40 L160,120 M100,40 L40,120' stroke='%231DA1F2' stroke-width='10' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
}

/* Technology Section */
#technology {
    padding: 5rem 0;
}

.tech-image {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-diagram {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 0 20px rgba(29, 161, 242, 0.5);
}

.tech-layer {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tech-layer.nlp {
    top: 20px;
    left: 110px;
}

.tech-layer.vision {
    top: 110px;
    left: 20px;
}

.tech-layer.security {
    top: 200px;
    left: 110px;
}

.tech-layer.integration {
    top: 110px;
    left: 200px;
}

.tech-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cpath d='M150,150 L150,50 M150,150 L50,150 M150,150 L150,250 M150,150 L250,150' stroke='%231DA1F2' stroke-width='2' stroke-dasharray='5,5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tech-feature h3 i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

/* Pricing Section */
#pricing {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
    height: 100%;
    position: relative;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-blue);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 10px;
}

.pricing-header {
    background-color: var(--accent-blue);
    padding: 2rem;
    text-align: center;
}

.pricing-header h3 {
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.pricing-body {
    padding: 2rem;
}

.pricing-features {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.pricing-note {
    color: #666;
}

/* ROI Calculator Section */
#roi-calculator {
    padding: 5rem 0;
}

.calculator-container {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.calculator-inputs {
    flex: 1;
    min-width: 300px;
}

.calculator-results {
    flex: 1;
    min-width: 300px;
    background-color: var(--accent-blue);
    border-radius: 10px;
    padding: 1.5rem;
}

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

.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.result-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(29, 161, 242, 0.2);
}

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

.result-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.result-item.total .result-value {
    font-size: 2rem;
}

.result-item.percentage .result-value {
    color: #28a745;
}

/* CTA Section */
#cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* FAQ Section */
#faq {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--white);
    font-weight: 600;
    padding: 1.5rem;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: var(--accent-blue);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(29, 161, 242, 0.1);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231DA1F2' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--white);
}

/* Contact Section */
#contact {
    padding: 5rem 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-right: 1rem;
}

.contact-form {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 5rem 0 3rem;
}

footer p {
    color: #aaa;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style-type: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-legal {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    margin: 0;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-speed);
}

.footer-legal a:hover {
    color: var(--primary-blue);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-blue);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    .navbar .d-flex {
        margin-top: 1rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    #hero {
        padding: 7rem 0 4rem;
        text-align: center;
    }
    
    .hero-video-container {
        margin-top: 3rem;
    }
    
    .advantage-stats {
        margin-bottom: 3rem;
    }
    
    .calculator-container {
        flex-direction: column;
    }
    
    .footer-legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }

    .use-case-image {
        margin-top: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Styles */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-light:hover {
    background-color: var(--accent-blue);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}
