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

:root {
    --magnusbg: #242424;
    --magnusdarkgray: #090909;
    --magnusgreen: #6D9A4E;
    --magnusgreen-light: #8AB968;
    --magnusgreen-dark: #5a8340;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --card-bg: #1a1a1a;
    --hover-bg: #2a2a2a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    background: rgba(9, 9, 9, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(109, 154, 78, 0.1);
}

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

.logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 55px;
    width: auto;
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--magnusgreen);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--magnusgreen-light);
    background: rgba(109, 154, 78, 0.1);
}

.nav-links a.active {
    color: var(--magnusgreen);
    background: rgba(109, 154, 78, 0.15);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: radial-gradient(circle at 30% 50%, rgba(109, 154, 78, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(109, 154, 78, 0.1) 0%, transparent 40%),
                linear-gradient(180deg, #000000 0%, var(--magnusdarkgray) 50%, var(--magnusbg) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--magnusgreen), transparent);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, var(--magnusgreen-light) 50%, var(--magnusgreen) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1.25rem 3rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--magnusgreen) 0%, var(--magnusgreen-dark) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(109, 154, 78, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(109, 154, 78, 0.5);
}

.btn-secondary {
    background: rgba(109, 154, 78, 0.1);
    color: var(--magnusgreen-light);
    border: 2px solid var(--magnusgreen);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(109, 154, 78, 0.2);
    border-color: var(--magnusgreen-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(109, 154, 78, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(109, 154, 78, 0.4));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--magnusbg) 0%, var(--magnusdarkgray) 50%, var(--magnusbg) 100%);
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--magnusgreen), transparent);
    margin: 2rem auto 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(26, 26, 26, 0.3) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(109, 154, 78, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--magnusgreen), var(--magnusgreen-light));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(109, 154, 78, 0.3);
    border-color: var(--magnusgreen-light);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.5) 100%);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    filter: grayscale(0);
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Download Section */
.download {
    padding: 8rem 0;
    background: radial-gradient(ellipse at center, rgba(109, 154, 78, 0.15) 0%, transparent 70%),
                var(--magnusdarkgray);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(109, 154, 78, 0.03) 2px,
        rgba(109, 154, 78, 0.03) 4px
    );
    animation: grid-move 20s linear infinite;
    pointer-events: none;
}

@keyframes grid-move {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(40px);
    }
}

.download-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    position: relative;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3.5rem;
    background: linear-gradient(135deg, var(--magnusgreen) 0%, var(--magnusgreen-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(109, 154, 78, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.download-btn:hover::before {
    width: 300px;
    height: 300px;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 60px rgba(109, 154, 78, 0.5);
}

.download-icon {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--magnusbg) 0%, var(--magnusdarkgray) 100%);
    text-align: center;
    position: relative;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 2;
    font-weight: 300;
    padding: 3rem;
    background: rgba(26, 26, 26, 0.4);
    border-radius: 24px;
    border: 1px solid rgba(109, 154, 78, 0.2);
    backdrop-filter: blur(10px);
}

/* Legal Pages */
.legal-page {
    padding: 3rem 0;
    background-color: var(--magnusbg);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    color: var(--magnusgreen);
    margin-bottom: 1rem;
}

.legal-section p,
.legal-section ul {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--magnusgreen);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--magnusdarkgray) 0%, #000000 100%);
    padding: 4rem 0 1.5rem;
    margin-top: auto;
    border-top: 1px solid rgba(109, 154, 78, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-section h4 {
    color: var(--magnusgreen-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--magnusgreen-light);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(109, 154, 78, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .nav-links {
        gap: 0.25rem;
    }

    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

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

    .features,
    .download,
    .about {
        padding: 5rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links a:hover {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.25rem;
    }

    .logo {
        height: 45px;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

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

    .about-text {
        font-size: 1.1rem;
        padding: 2rem;
    }

    .download-btn {
        padding: 1.25rem 2.5rem;
    }
}

