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

:root {
    --primary: #186e95;
    --secondary: #1e8abb;
    --accent: #e38f4b;
    --accent-light: #ffac54;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #94a3b8;
    --transition: all 1.0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.4);
}

.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section */
#hero {
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 40%),
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.1), transparent 40%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    position: absolute;
    right: 7%;
    top: 25%;
    transform: translateY(-50%);
    width: 25%;
    max-width: 600px;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

/* Features Section */
#features {
    min-height: 80vh;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: rgba(24, 110, 149, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

/* Examples Section */
.examples-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 10px;
    margin-top: 50px;
    min-height: 400px;
    background: rgba(24, 110, 149, 1);
    border-radius: 15px;
    padding: 20px;
}

.examples-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.example-tab {
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: var(--light);
    text-align: left;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
}

.example-tab i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

.example-tab:hover {
    background: rgba(24, 110, 149, 0.1);
}

.example-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--light);
}

.examples-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.example-block {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.example-block.active {
    display: block;
    opacity: 1;
}

.example-block h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.example-block pre {
    background: rgba(40, 44, 52);
    border-radius: 10px;
    padding: 0px 10px 0px 10px;
    min-height: 60vh;
    overflow: auto;
}

.example-block code {
    color: var(--light);
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: anywhere;
}

@media (max-width: 992px) {
    .examples-container {
        grid-template-columns: 1fr;
    }

    .examples-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .example-tab {
        white-space: nowrap;
    }
}

/* Stats Section */
#stats {
    min-height: 80vh;
}

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

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(24, 110, 149, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--accent-light);
}

/* Footer */
footer {
    padding: 100px 0 100px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--accent);
    background: rgba(24, 110, 149, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        top: 14%;
        right: 22%;
        width: 25%;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .feature-card, .stat-card {
        padding: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }


    .hero-image {
        top: 10%;
        right: 22%;
        width: 30%;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Floating elements */
.floating {
    position: absolute;
    z-index: 0;
}

.floating-1 {
    top: 20%;
    left: 10%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
    opacity: 0.05;
    animation: pulse 8s infinite;
}

.floating-2 {
    bottom: 10%;
    right: 7%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    opacity: 0.05;
    animation: pulse 6s infinite reverse;
}

.floating-3 {
    top: 38%;
    right: 17%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
    opacity: 0.05;
    animation: pulse 7s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

/* Scroll reveal effect */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Corner badge */
.corner-badge {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    display: inline-block;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: 10px 60px;
    transform: translate(-50%, -90%) rotate(-45deg);
    transform-origin: top right;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
}

.corner-badge:hover {
    opacity: 0.95;
}

@media (max-width: 576px) {
    .corner-badge {
        padding: 8px 48px;
        font-size: 0.85rem;
        /*transform: translate(40%, -40%) rotate(45deg);*/
    }
}

/* Testimonials */
#testimonials {
    background: linear-gradient(180deg, rgba(0,0,0,0.02), transparent 60%);
}

.testimonials-wrapper {
    position: relative;
    max-width: 820px;
    margin: 0 auto 20px auto;
    min-height: 200px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 450ms ease, transform 450ms ease;
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.testimonial.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.testimonial .quote {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 18px;
}

.testimonial .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial .author i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.testimonial .author .name {
    color: var(--primary);
    font-weight: 600;
}

.testimonial .author .role {
    color: var(--gray);
    font-size: 0.95rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease;
}

.testimonial-dots .dot:hover {
    transform: scale(1.1);
}

.testimonial-dots .dot.active {
    background: var(--primary);
}

@media (max-width: 640px) {
    .testimonial { padding: 22px; }
    .testimonial .quote { font-size: 1.05rem; }
}
