/* General Styles */
:root {
    --primary-color: #6c44fc;
    --secondary-color: #ff4081;
    --dark-color: #121212;
    --light-color: #f4f4f4;
    --gray-color: #333;
    --text-color: #333;
    --light-text: #fff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

html {
    scroll-behavior: smooth;
}

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

ul {
    list-style: none;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #5535d4;
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

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

.logo h1 {
    color: var(--light-text);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo h1 span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--light-text);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 20px;
}

.hero-badge {
    background: linear-gradient(135deg, rgba(85, 53, 212, 0.8), rgba(139, 75, 255, 0.8));
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(85, 53, 212, 0.3);
    backdrop-filter: blur(5px);
    animation: fadeInDown 0.7s ease-out;
}

.hero-text-container {
    margin-bottom: 35px;
    text-align: center;
}

.animated-text {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeIn 1s ease-out;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.gradient-text {
    background: linear-gradient(90deg, #5535d4, #8b4bff, #b66dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #5535d4, #8b4bff);
    border-radius: 2px;
    transform: scaleX(0.7);
    transform-origin: left;
    animation: lineExpand 1.5s ease-out forwards;
}

.tagline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.9s;
}

.tagline-icon {
    background-color: rgba(85, 53, 212, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline-icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.animated-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1.1s;
}

.cta-buttons .btn {
    margin: 0 10px;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1s;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* CTA Container */
.cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1.2s;
}

.cta-main, .cta-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(85, 53, 212, 0.4);
}

.cta-secondary:hover {
    transform: translateY(-3px);
}

.cta-main i {
    transition: transform 0.3s ease;
}

.cta-main:hover i {
    transform: translateX(4px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 1.4s;
}

.stat-pill {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.stat-pill span {
    font-weight: 700;
    color: white;
    margin-right: 5px;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 25px;
    color: var(--gray-color);
    font-size: 1.05rem;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border-radius: 10px;
    background-color: white;
    box-shadow: var(--shadow);
    margin: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* Services Section */
.services {
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--gray-color);
}

/* Rights Protection Section */
.protection {
    background-color: var(--light-color);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.platform-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-10px);
}

.platform-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.platform-card p {
    color: var(--gray-color);
}

/* Community Section */
.community {
    background-color: #f9f9f9;
}

.community-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.community-text {
    flex: 1;
    min-width: 300px;
}

.community-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    margin-top: 30px;
}

.community-text h3:first-child {
    margin-top: 0;
}

.community-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
    font-size: 1.05rem;
    line-height: 1.7;
}

.community-benefits {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.benefit-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--gray-color);
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.info-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-10px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.info-item p {
    color: var(--gray-color);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Contact Cards Styling */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.card-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.primary-bg {
    background: linear-gradient(135deg, var(--primary-color), #9b4dff);
}

.secondary-bg {
    background: linear-gradient(135deg, #4c6fff, #48c2ff);
}

.tertiary-bg {
    background: linear-gradient(135deg, #ff7842, #ffaa42);
}

.card-content {
    padding: 70px 30px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-card h3 {
    margin: 0 0 20px;
    font-size: 1.6rem;
    color: var(--dark-color);
}

.card-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.card-detail i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.card-detail span {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.card-description {
    color: var(--gray-color);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
    gap: 8px;
}

.tag {
    background-color: #f5f5f5;
    color: var(--gray-color);
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.contact-btn {
    margin-top: auto;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-secondary {
    background-color: #4c6fff;
    color: white;
}

.btn-secondary:hover {
    background-color: #3a5bec;
}

.btn-tertiary {
    background-color: #ff7842;
    color: white;
}

.btn-tertiary:hover {
    background-color: #ff6b30;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 70px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo,
.footer-links,
.footer-social,
.footer-newsletter {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo h2 span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #ccc;
}

.footer-links h3,
.footer-social h3,
.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after,
.footer-social h3::after,
.footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-newsletter p {
    color: #ccc;
    margin-bottom: 20px;
}

#newsletterForm {
    display: flex;
    height: 45px;
}

#newsletterForm input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    color: var(--text-color);
}

#newsletterForm button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

#newsletterForm button:hover {
    background-color: #5535d4;
}

/* Compact Footer Styling */
.compact-footer {
    background-color: #12082f;
    padding: 25px 0 15px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin: 0;
    line-height: 1;
}

.footer-logo h2 span {
    color: var(--primary-color);
}

.footer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0 0 5px;
}

.footer-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-stats span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    position: relative;
}

.footer-stats span:not(:last-child):after {
    content: '\2022';
    position: absolute;
    right: -10px;
    color: var(--primary-color);
}

.footer-support {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-support p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.footer-support i {
    color: var(--primary-color);
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 15px 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom span {
    opacity: 0.7;
}

/* Footer Responsive Styles */
@media screen and (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 15px;
    }
    
    .footer-stats, .footer-support {
        justify-content: center;
    }
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .section-header h2 {
        font-size: 2.2rem;
    }

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

    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .platform-card,
    .benefit-item {
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        padding: 0 15px;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        background-color: var(--dark-color);
        width: 100%;
        height: calc(100vh - 80px);
        transition: var(--transition);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
    }

    nav ul li {
        margin: 15px 0;
    }

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

    .contact-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }

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

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

    .about-content {
        flex-direction: column;
    }

    .cta-buttons .btn {
        display: block;
        margin: 10px 0;
    }
}
