/* Catppuccin Mocha Theme Colors */
:root {
    --ctp-base: #1e1e2e;
    --ctp-mantle: #181825;
    --ctp-crust: #11111b;
    --ctp-text: #cdd6f4;
    --ctp-subtext0: #a6adc8;
    --ctp-subtext1: #bac2de;
    --ctp-surface0: #313244;
    --ctp-surface1: #45475a;
    --ctp-surface2: #585b70;
    --ctp-overlay0: #6c7086;
    --ctp-overlay1: #7f849c;
    --ctp-overlay2: #9399b2;
    --ctp-blue: #89b4fa;
    --ctp-lavender: #b4befe;
    --ctp-sapphire: #74c7ec;
    --ctp-sky: #89dceb;
    --ctp-teal: #94e2d5;
    --ctp-green: #a6e3a1;
    --ctp-yellow: #f9e2af;
    --ctp-peach: #fab387;
    --ctp-maroon: #eba0ac;
    --ctp-red: #f38ba8;
    --ctp-mauve: #cba6f7;
    --ctp-pink: #f5c2e7;
    --ctp-flamingo: #f2cdcd;
    --ctp-rosewater: #f5e0dc;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--ctp-base);
    color: var(--ctp-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar Styles */
nav {
    background-color: var(--ctp-mantle);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ctp-mauve);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--ctp-mauve);
    border-radius: 50%;
}

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

.nav-links a {
    color: var(--ctp-subtext0);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--ctp-text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--ctp-mauve);
    transition: width 0.3s ease;
}

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

.app-button {
    background-color: var(--ctp-mauve);
    color: var(--ctp-base);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.app-button::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;
    z-index: -1;
}

.app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(203, 166, 247, 0.4);
}

.app-button:hover::before {
    left: 100%;
}

.app-button:active {
    transform: translateY(0);
}

/* Page Header */
.page-header {
    padding: 4rem 0;
    background-color: var(--ctp-crust);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ctp-lavender);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--ctp-subtext0);
    max-width: 700px;
    margin: 0 auto;
}

/* Section Styles */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--ctp-mauve);
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--ctp-mantle);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: var(--ctp-subtext0);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--ctp-mauve);
}

.copyright {
    color: var(--ctp-overlay0);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ctp-text);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .page-header h1 {
        font-size: 2rem;
    }

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

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--ctp-mauve), var(--ctp-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--ctp-subtext1);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

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

.feature-card {
    background-color: var(--ctp-surface0);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--ctp-mauve);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ctp-lavender);
}

.feature-card p {
    color: var(--ctp-subtext0);
}

/* FAQ Styles */
.faq-section {
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--ctp-surface0);
}

.accordion-header {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--ctp-surface1);
}

.accordion-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ctp-text);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--ctp-surface0);
}

.accordion.active .accordion-content {
    padding: 1.25rem;
    max-height: 500px;
    border-top: 1px solid var(--ctp-surface1);
}

/* Developer Section Styles */
.dev-section {
    padding: 4rem 0;
}

.api-card {
    background-color: var(--ctp-surface0);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.api-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ctp-blue);
}

.code-block {
    background-color: var(--ctp-crust);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.code-block pre {
    font-family: 'Fira Code', 'Courier New', monospace;
    color: var(--ctp-text);
}

/* Modal Styles */
.precaution-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 27, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.precaution-modal.active {
    opacity: 1;
    visibility: visible;
}

.precaution-content {
    background-color: var(--ctp-surface0);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.precaution-modal.active .precaution-content {
    transform: translateY(0);
}

.precaution-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--ctp-mauve);
}

.precaution-list {
    text-align: left;
    margin-bottom: 2rem;
}

.precaution-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.precaution-icon {
    color: var(--ctp-yellow);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.timer {
    font-size: 1rem;
    color: var(--ctp-subtext0);
    margin-top: 1.5rem;
}

.timer-bar {
    width: 100%;
    height: 6px;
    background-color: var(--ctp-surface1);
    border-radius: 3px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.timer-progress {
    height: 100%;
    background-color: var(--ctp-mauve);
    width: 0%;
    transition: width 0.1s linear;
}


.newContainer {
    display: none;
}