/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Vibrant Color Palette */
    --primary: #ff6b6b;
    --primary-dark: #ee5a6f;
    --secondary: #4ecdc4;
    --secondary-dark: #44a08d;
    --accent: #ffe66d;
    --accent-2: #ff9ff3;
    --accent-3: #54a0ff;
    --accent-4: #5f27cd;
    --accent-5: #00d2d3;
    --accent-6: #ff9ff3;
    
    --dark: #2d3436;
    --dark-2: #636e72;
    --light: #ffffff;
    --light-2: #f8f9fa;
    
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Touch-friendly improvements */
button, a, input, select, textarea {
    touch-action: manipulation;
}

button, .btn {
    min-height: 44px;
    min-width: 44px;
}

a, .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Extra small devices (phones, 320px and up) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* Header */
.header {
    background: var(--light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    animation: logoPulse 2s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: iconBackground 3s ease-in-out infinite;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.1) rotateY(10deg);
}

@keyframes iconBackground {
    0%, 100% {
        background: var(--gradient-2);
        box-shadow: 0 6px 20px rgba(240, 147, 251, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.1);
    }
    25% {
        background: var(--gradient-3);
        box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.1);
    }
    50% {
        background: var(--gradient-4);
        box-shadow: 0 6px 20px rgba(67, 233, 123, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.1);
    }
    75% {
        background: var(--gradient-5);
        box-shadow: 0 6px 20px rgba(250, 112, 154, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.1);
    }
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: logoShine 3s infinite;
}

.logo-icon i {
    font-size: 1.8rem;
    color: white;
    z-index: 1;
    animation: logoRotate 3s linear infinite, logoColorChange 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 2px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-domain {
    font-size: 0.85em;
    opacity: 0.9;
    font-weight: 500;
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoColorChange {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 2px 4px rgba(240, 147, 251, 0.4));
    }
    25% {
        filter: brightness(1.2) drop-shadow(0 2px 8px rgba(79, 172, 254, 0.5));
    }
    50% {
        filter: brightness(1.4) drop-shadow(0 2px 12px rgba(67, 233, 123, 0.6));
    }
    75% {
        filter: brightness(1.2) drop-shadow(0 2px 8px rgba(250, 112, 154, 0.5));
    }
}

@keyframes logoShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes logoPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.nav {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.nav-link {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    border-radius: 25px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    transition: var(--transition);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--light);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    background: none;
    border: none;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-3);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--gradient-5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--dark-2);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    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;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-2);
    color: var(--light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--gradient-3);
    color: var(--light);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--light-2);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--gradient-2);
    color: var(--light);
    box-shadow: var(--shadow);
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--gradient-3);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--gradient-4);
}

.feature-card:nth-child(4) .feature-icon {
    background: var(--gradient-5);
}

.feature-card:nth-child(5) .feature-icon {
    background: var(--gradient-6);
}

.feature-card:nth-child(6) .feature-icon {
    background: var(--gradient-1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--dark-2);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    padding: 80px 20px;
    background: var(--gradient-2);
    color: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Page Content Styles */
.page-content {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 30px;
    text-align: center;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-card {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.content-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.content-card h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.content-card p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--dark-2);
}

.content-card ul,
.content-card ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-card li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: var(--light);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--light);
    box-shadow: var(--shadow);
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive */
/* Small devices (landscape phones, 480px and up) */
@media (max-width: 480px) {
    .header .container {
        padding: 0.8rem 15px;
    }

    .logo {
        font-size: 1.2rem;
        gap: 8px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .features-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .content-card {
        padding: 30px 20px;
    }

    .article-section {
        padding: 50px 15px;
    }

    .seo-article {
        padding: 30px 20px;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-lead {
        font-size: 1.1rem;
    }

    .chat-widget {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}

/* Large devices (desktops, 1024px and down) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.form-group label span {
    cursor: pointer;
}

.chat-form,
.promotion-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Article Section */
.article-section {
    padding: 80px 20px;
    background: var(--light-2);
}

.seo-article {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid;
    border-image: var(--gradient-2) 1;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--dark-2);
}

.article-meta time {
    font-weight: 600;
}

.article-author {
    color: var(--primary);
    font-weight: 600;
}

.article-content {
    line-height: 1.9;
    font-size: 1.1rem;
    color: var(--dark);
}

.article-lead {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--dark);
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-content strong {
    color: var(--primary);
    font-weight: 700;
}

.article-content em {
    color: var(--secondary);
    font-style: italic;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
    display: none;
}

.chat-widget.minimized {
    width: auto;
}

.chat-widget-header {
    background: var(--gradient-2);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chat-widget-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.chat-widget-info i {
    font-size: 1.2rem;
}

.chat-widget-controls {
    display: flex;
    gap: 10px;
}

.chat-minimize,
.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chat-minimize:hover,
.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-widget-body {
    padding: 25px;
}

.chat-welcome {
    margin-bottom: 20px;
}

.chat-welcome p {
    margin-bottom: 10px;
    color: var(--dark-2);
    line-height: 1.6;
}

.chat-widget-actions {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .chat-widget {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
    
    .seo-article {
        padding: 30px 20px;
    }
}

