/* ==================== MAIN CSS - GLOBAL STYLES ==================== */

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

:root {
    --primary: #0099d8;
    --secondary: #00bfff;
    --danger: #e63946;
    --success: #06b6d4;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #f5f5f7;
    --bg-lighter: #fafafa;
    --white: #ffffff;
    --border-color: #e8e8e8;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 153, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 153, 216, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary), #0077a8);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 153, 216, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 153, 216, 0.35);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #d62828);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 13px 0;
    font-size: 13px;
    box-shadow: var(--shadow);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.top-bar-left {
    display: flex;
    gap: 25px;
    flex: 1;
}

.top-bar-left span {
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.top-bar-left span:hover {
    opacity: 0.85;
}

.top-bar-right {
    display: flex;
    gap: 18px;
}

.top-bar-right a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
}

.top-bar-right a:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.icon-inline {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
    color: inherit;
    stroke: currentColor;
}

.icon-social {
    display: inline-block;
    width: 20px;
    height: 20px;
    color: inherit;
    stroke: currentColor;
    transition: all 0.3s ease;
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.7s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header h2 {
    font-size: 44px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.section-header .subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.section-header .description {
    font-size: 15px;
    color: var(--text-light);
}

.description-large {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.header-underline {
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--danger), var(--success));
    margin: 20px auto 0;
    border-radius: 3px;
    animation: slideInUp 0.6s ease;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .section-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
    }

    .top-bar-left {
        flex: 1;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 24px;
    }
}
