/* Base variables */
:root {
    /* Colors */
    --primary-color: #6e45e2;
    --primary-dark: #5435b8;
    --secondary-color: #88d3ce;
    --accent-color: #ff7e5f;
    --dark-color: #2a2d3b;
    --darker-color: #1e202a;
    --light-color: #f9f9f9;
    --lighter-color: #ffffff;
    --text-color: #333333;
    --text-light: #777777;
    --text-on-dark: rgba(255, 255, 255, 0.9);
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;
    
    /* Effects */
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul, ol {
    list-style-position: inside;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(110, 69, 226, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--lighter-color);
    border: 2px solid var(--lighter-color);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(42, 45, 59, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: var(--darker-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
    height: 40px;
    transition: var(--transition);
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

.main-nav a {
    color: var(--text-on-dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--lighter-color);
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: url('/images/hero-bg.webp') no-repeat center center/cover;
    color: var(--lighter-color);
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(110, 69, 226, 0.8) 0%, rgba(42, 45, 59, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

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

/* Sections common styles */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Features section */
.features-section {
    background-color: var(--lighter-color);
}

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

.feature-card {
    background: var(--lighter-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    height: 10px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(110, 69, 226, 0.2);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    text-align: center;
}

.feature-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-list {
    list-style-type: none;
    margin: 20px 0;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Technology section */
.technology-section {
    background-color: #f5f7fa;
}

.technology-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.technology-text {
    padding-right: 30px;
}

.subsection-title {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark-color);
    position: relative;
    padding-left: 20px;
}

.subsection-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.tech-list {
    margin: 20px 0;
    list-style-type: none;
}

.tech-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tech-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 15px;
    height: 15px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.technology-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.technology-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.technology-image:hover img {
    transform: scale(1.03);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--lighter-color);
    text-align: center;
    font-size: 0.9rem;
}

/* Access section */
.access-section {
    background-color: var(--lighter-color);
}

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

.method-card {
    background: var(--lighter-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.method-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--lighter-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
}

.method-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    padding-top: 10px;
}

.address-box {
    display: flex;
    align-items: center;
    background: rgba(110, 69, 226, 0.1);
    border-radius: 5px;
    padding: 10px 15px;
    margin: 15px 0;
    border-left: 3px solid var(--primary-color);
}

.address-box code {
    flex-grow: 1;
    font-family: monospace;
    color: var(--primary-color);
    overflow-x: auto;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 10px;
    padding: 5px;
    transition: var(--transition);
}

.copy-btn:hover {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.method-list {
    list-style-type: none;
    margin: 15px 0;
}

.method-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.method-list li::before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--accent-color);
    font-weight: bold;
}

.method-steps {
    list-style-type: none;
    counter-reset: step-counter;
    margin: 15px 0;
}

.method-steps li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    line-height: 1.6;
    counter-increment: step-counter;
}

.method-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background-color: var(--primary-color);
    color: var(--lighter-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.method-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ddd;
}

.security-warning {
    background-color: #fff8f7;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin-top: 50px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.warning-title {
    color: var(--accent-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.warning-title::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
}

/* Footer */
.main-footer {
    background-color: var(--darker-color);
    color: var(--text-on-dark);
    padding: 80px 0 30px;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    margin-bottom: 20px;
}

.footer-logo p {
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

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

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-on-dark);
    opacity: 0.7;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--accent-color);
}

.disclaimer {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 20px;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.animated {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive styles */
@media (max-width: 992px) {
    .technology-content {
        grid-template-columns: 1fr;
    }
    
    .technology-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--darker-color);
        padding: 100px 30px 30px;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .method-card {
        padding: 25px 20px;
    }
}