html, body {
    font-family: 'Arial', sans-serif;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #0a0a0a;
    color: #ffffff;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.light-mode {
    background: #f8f9fa;
    color: #222222;
}

html {
    scroll-behavior: smooth;
}

header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    box-sizing: border-box;
}

.light-mode header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

h1 {
    margin: 0 0 10px 0;
    font-size: 1.8em;
    font-weight: 300;
    letter-spacing: 1px;
    text-align: center;
    transition: color 0.4s ease;
}

p {
    text-align: left;
    line-height: 1.5;
}

.light-mode h1 {
    color: #222222;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    margin: 5px 10px;
}

nav a {
    color: #d8d8d8;
    text-decoration: none;
    font-size: 1em;
    font-weight: 300;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.light-mode nav a {
    color: #444444;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.light-mode nav a:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    padding: 10px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #ffffff;
}

.light-mode .theme-toggle {
    background: rgba(0, 0, 0, 0.08);
    color: #222222;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(30deg) !important;
    background: rgba(255, 255, 255, 0.2);
}

.light-mode .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.15) !important;
}

.dark-icon {
    display: block;
}

.light-icon {
    display: none;
}

.light-mode .dark-icon {
    display: none;
}

.light-mode .light-icon {
    display: block;
}

main {
    padding-bottom: 60px;
    padding-top: 20px;
    transition: background-color 0.4s ease;
}

#examples, #packages, #contact {
    padding: 40px 15px;
    text-align: center;
    background-color: #121212;
    transition: background-color 0.4s ease;
}

.light-mode #examples,
.light-mode #packages,
.light-mode #contact {
    background-color: #ffffff;
}

#examples h2, #packages h2, #contact h2 {
    margin: 0 0 20px 0;
    font-size: 1.8em;
    color: #ffffff;
    font-weight: 300;
    position: relative;
    display: inline-block;
    transition: color 0.4s ease;
}

#packages h3 {
    margin: 0 0 20px 0;
    font-size: 1.5em;
    color: #ffffff;
    font-weight: 300;
    position: relative;
    display: inline-block;
    transition: color 0.4s ease;
}

.light-mode #packages h3 {
    color: #222222;
}

.light-mode #examples h2,
.light-mode #packages h2,
.light-mode #contact h2 {
    color: #222222;
}

#examples h2::after, #packages h2::after, #contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ffffff;
    transition: background-color 0.4s ease;
}

.light-mode #examples h2::after,
.light-mode #packages h2::after,
.light-mode #contact h2::after {
    background: #222222;
}

.examples-container, .packages-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.example-card, .package-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    width: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.4s ease;
}

.light-mode .example-card,
.light-mode .package-card {
    background-color: #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.example-card:hover, .package-card:hover {
    transform: translateY(-10px);
}

.light-mode .example-card:hover,
.light-mode .package-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.example-image, .package-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.example-card:hover .example-image,
.package-card:hover .package-image {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.check-button, .purchase-button {
    background-color: #ffffff;
    color: #121212;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    max-width: 200px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.light-mode .check-button,
.light-mode .purchase-button {
    background-color: #222222;
    color: #ffffff;
}

.check-button:hover, .purchase-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.light-mode .check-button:hover,
.light-mode .purchase-button:hover {
    background-color: #444444;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#contact h4 {
    margin: 15px 0;
    font-size: 1em;
    color: #bbbbbb;
    font-weight: 300;
    transition: color 0.4s ease;
}

.light-mode #contact h4 {
    color: #555555;
}

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

#examples, #packages, #contact {
    animation: fadeIn 0.6s ease-out;
}

@media (min-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px 40px;
    }
    
    h1 {
        margin: 0;
        font-size: 2.5em;
        text-align: left;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    nav a {
        font-size: 1.2em;
        padding: 8px 16px;
    }
    
    .theme-toggle {
        position: relative;
        top: 0;
        right: 0;
        margin-left: 20px;
    }
    
    #examples, #packages, #contact {
        padding: 80px 20px;
    }
    
    #examples h2, #packages h2, #contact h2 {
        font-size: 2.5em;
    }
    
    .examples-container, .packages-container {
        gap: 40px;
        margin-top: 50px;
    }
    
    .example-card, .package-card {
        max-width: 320px;
        margin-bottom: 0;
        padding: 20px;
    }
    
    .example-image, .package-image {
        height: 240px;
        margin-bottom: 20px;
    }
    
    #contact h4 {
        font-size: 1.1em;
    }
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
    width: 100%;
}

.package-features li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9em;
}

.package-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.light-mode .package-features li:before {
    color: #2E7D32;
}

.package-price {
    font-size: 1.4em;
    font-weight: 600;
    margin: 15px 0;
    color: #ffffff;
}

.light-mode .package-price {
    color: #222222;
}

.package-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 1;
}

.light-mode .package-badge {
    background: linear-gradient(135deg, #FF5252, #FF7B47);
}

.package-card {
    position: relative;
}