/* MinecraftProtection - Modern Theme */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: all 0.3s ease;
}

a:hover {
    color: #0056b3;
}

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

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12 { width: 100%; padding: 0 15px; }
.col-md-3 { width: 100%; padding: 0 15px; }
.col-md-4 { width: 100%; padding: 0 15px; }
.col-md-6 { width: 100%; padding: 0 15px; }
.col-md-8 { width: 100%; padding: 0 15px; }
.col-lg-3 { width: 100%; padding: 0 15px; }
.col-lg-4 { width: 100%; padding: 0 15px; }
.col-lg-5 { width: 100%; padding: 0 15px; }
.col-lg-8 { width: 100%; padding: 0 15px; }
.col-lg-9 { width: 100%; padding: 0 15px; }
.col-lg-10 { width: 100%; padding: 0 15px; }

@media (min-width: 768px) {
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.333%; }
    .col-md-6 { width: 50%; }
    .col-md-8 { width: 66.666%; }
}

@media (min-width: 992px) {
    .col-lg-3 { width: 25%; }
    .col-lg-4 { width: 33.333%; }
    .col-lg-5 { width: 41.666%; }
    .col-lg-8 { width: 66.666%; }
    .col-lg-9 { width: 75%; }
    .col-lg-10 { width: 83.333%; }
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    color: #333;
}

.navigation-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.navigation-menu > li {
    position: relative;
}

.navigation-menu > li > a {
    color: #555;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    display: block;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navigation-menu > li > a:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
}

/* Dashboard button styling - FIXED */
.navigation-menu > li > a.btn-primary {
    color: #ffffff;
    background: #007bff;
    padding: 10px 24px;
    margin-left: 15px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.navigation-menu > li > a.btn-primary:hover {
    background: #0056b3;
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
}

.menu-arrow {
    display: inline-block;
    margin-left: 5px;
    border: solid #555;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    vertical-align: middle;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.has-submenu:hover .menu-arrow {
    transform: rotate(-135deg);
    margin-bottom: -2px;
}

/* FIXED: Dropdown stays open when hovering */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    min-width: 240px;
    padding: 0.5rem 0;
    border-radius: 6px;
    list-style: none;
    margin-top: 0.25rem;
    z-index: 1000;
}

@media (min-width: 769px) {
    .has-submenu:hover .submenu {
        display: block;
    }

    .submenu::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 0;
        right: 0;
        height: 20px;
        background: transparent;
    }
}

.submenu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.submenu li a:hover {
    background: #f8f9fa;
    color: #007bff;
    padding-left: 1.75rem;
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .navigation-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        border-top: 1px solid #eee;
    }
    
    .navigation-menu.active {
        display: flex;
    }
    
    .navigation-menu > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .navigation-menu > li > a {
        padding: 1rem 0;
    }
    
    /* Dashboard button on mobile */
    .navigation-menu > li > a.btn-primary {
        margin-left: 0;
        margin: 0.5rem 0;
        text-align: center;
    }
    
    .submenu {
        position: static;
        box-shadow: none;
        padding-left: 1.5rem;
        display: none;
        margin-top: 0;
        background: #f8f9fa;
        opacity: 1;
        transform: none;
    }
    
    .has-submenu.active .submenu {
        display: block;
    }
    
    .has-submenu.active .menu-arrow {
        transform: rotate(-135deg);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.page-header {
    background: #f8f9fa;
    padding: 4rem 0 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Section */
.section {
    padding: 4rem 0;
}

/* Card */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-body {
    padding: 0;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border: 2px solid #007bff;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #ffc107;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
}

.price-amount {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 2rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 5px;
}

.price-period {
    font-size: 1.2rem;
    color: #6c757d;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: #fff;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background: #0056b3;
    color: #fff;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    border: 1px solid transparent;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

/* Footer */
footer {
    background: #212529;
    color: #adb5bd;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 0.8rem;
}

footer a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

.footer-bar {
    border-top: 1px solid #343a40;
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: #007bff !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #28a745 !important;
}

.text-white {
    color: #fff !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-primary {
    background-color: #007bff !important;
}

.bg-dark {
    background-color: #212529 !important;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1.5rem; }

.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1.5rem; }

.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }

.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }

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

.align-items-center {
    align-items: center;
}

.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.shadow {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.rounded {
    border-radius: 8px;
}

.border-0 {
    border: none !important;
}

/* Feature Icons */
.feature-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
    display: block;
}

/* Code Blocks */
code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #c7254e;
}

pre {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

pre code {
    background: none;
    padding: 0;
    color: #333;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 2rem;
}

.faq-item h5 {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.faq-icon {
    color: #007bff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Contact Info Box */
.contact-info-box {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}

.contact-info-box h3 {
    margin-bottom: 1rem;
}

.contact-info-box a {
    color: #007bff;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .card {
        padding: 1.5rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}
