/* Base Styles */
:root {
    --primary-color: #111111;
    --secondary-color: #444444;
    --accent-color: #888888;
    --text-color: #1a1a1a;
    --light-text: #6b7280;
    --background-color: #ffffff;
    --light-background: #f8f9fc;
    --border-color: #e5e7eb;
    --success-color: #444444;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.12);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Section Titles */
.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.15rem;
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Feature Images */
.feature-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    margin: 20px 0;
}

.feature-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}


/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    margin: 0;
    flex: 2;
}

.slideshow-slide {
    display: none;
    width: 100%;
}

.slideshow-slide.active {
    display: block;
    animation: fadeEffect 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-height: 500px;
    object-fit: contain;
    border: 1px solid var(--border-color);
}

.slideshow-prev, .slideshow-next {
    display: none;
}

.slideshow-dots {
    text-align: center;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slideshow-dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    background-color: #d1d5db;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow-dot.active, .slideshow-dot:hover {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

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

/* Announcement Banner */
.announcement-banner {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
}

.announcement-banner span {
    opacity: 0.7;
    margin: 0 6px;
}

.announcement-banner a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    margin-left: 4px;
}

.announcement-banner a:hover {
    opacity: 0.85;
}

body.has-banner header {
    top: 37px;
}

body.has-banner .hero {
    padding-top: calc(11rem + 37px);
}

body.has-banner .demo-section {
    padding-top: calc(10rem + 37px);
}

body.has-banner .about-hero {
    padding-top: calc(80px + 37px);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 0.6rem 0;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.03em;
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.925rem;
    position: relative;
    padding: 4px 0;
    letter-spacing: -0.01em;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 1px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

.demo-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}

.demo-btn:hover {
    background-color: white;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-color);
}

.demo-btn::after {
    display: none !important;
}

/* Hero Section */
.hero {
    padding: 11rem 0 6rem;
    background: linear-gradient(160deg, #ffffff 0%, #f3f4f6 40%, #e8eaef 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--background-color), transparent);
    z-index: 1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    padding-right: 1rem;
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--primary-color);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.04em;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
    line-height: 1.7;
}

.hero-tagline {
    font-weight: 500;
    color: var(--primary-color) !important;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.22s both;
}

.hero-image {
    flex: 1.2;
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-image .feature-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 1rem 2.25rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    background: white;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

/* Features Section */
.features {
    padding: 7rem 0;
    background-color: var(--background-color);
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    border: 1px solid var(--border-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-content {
    flex: 1;
    padding-right: 1rem;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-background);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits {
    padding: 7rem 0;
    background-color: var(--light-background);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    z-index: 0;
}

.benefits::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    z-index: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-background);
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.benefit-card p {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 0.925rem;
}

/* Benefit Images */
.benefit-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin: 20px 0 0;
}

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

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(160deg, #f8f9fc 0%, #eef0f5 50%, #e4e7ed 100%);
    color: var(--text-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
    z-index: 0;
}

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

.cta-content h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--light-text);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    padding: 1.1rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-section .cta-button:hover {
    background: white;
    color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 7rem 0;
    background-color: var(--background-color);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border-color);
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.testimonial-author h4 {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--light-text);
    margin: 0;
    font-size: 0.9rem;
}

/* Demo Section */
.demo-section {
    padding: 7rem 0;
    background-color: var(--light-background);
}

.demo-content {
    max-width: 600px;
    margin: 0 auto;
}

.demo-form {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    border: 1px solid var(--border-color);
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--light-background);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background-color: #0a0a0a;
    color: white !important;
    padding: 4.5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: white;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
    font-size: 0.925rem;
    line-height: 1.7;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    min-width: 150px;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.footer-column ul li {
    margin-bottom: 0.65rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
    font-size: 0.925rem;
}

.footer-column ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: white;
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

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

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

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    position: relative;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(0, 0, 0, 0);
    }
}

/* Data Animation */
[data-aos] {
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .feature-card {
        flex-direction: column;
    }
    
    .feature-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 1rem;
    }
    
    .slideshow-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .feature-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Modal Styles for Image Expansion */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0;
}

.modal-content {
    margin: auto;
    display: block;
    width: 92%;
    max-width: 1400px;
    max-height: 90vh;
    object-fit: contain;
    animation: modalZoom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius);
}

@keyframes modalZoom {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 32px;
    font-weight: 300;
    transition: var(--transition);
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover,
.modal-close:focus {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 16px 0;
    font-size: 0.95rem;
    height: auto;
}

/* Expandable Image Styles */
.expandable {
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.expandable:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
}

/* Smooth section spacing for feature cards outside grid */
.features > .container > .feature-card {
    margin-bottom: 1.5rem;
}

.features > .container > .feature-card:last-of-type {
    margin-bottom: 0;
}

