@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;600;700&display=swap');

:root {
    --primary: #f59e0b;
    /* Amber 500 */
    --primary-light: #fbbf24;
    /* Amber 400 */
    --primary-dark: #d97706;
    /* Amber 600 */
    --secondary: #8b5cf6;
    /* Violet 500 */
    --background: #0f172a;
    /* Slate 900 */
    --surface: #1e293b;
    /* Slate 800 */
    --surface-light: #334155;
    /* Slate 700 */
    --text: #f1f5f9;
    /* Slate 100 */
    --text-muted: #94a3b8;
    /* Slate 400 */
    --error: #ef4444;
    /* Red 500 */
    --success: #10b981;
    /* Emerald 500 */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 40%;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 30%;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Hero */
header {
    text-align: center;
    padding: 20px 0 80px;
    position: relative;
    background: radial-gradient(circle at top, rgba(139, 92, 246, 0.15), transparent 70%);
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px 20px;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 56px;
    width: auto;
    border-radius: 12px;
}

.logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.language-toggle {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 99px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.lang-btn.active {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    padding: 16px 32px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* Carousel */
.carousel {
    position: relative;
    height: 650px;
    width: 300px;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 12px solid #1e293b;
    background: #000;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    header {
        text-align: left;
        padding: 40px 0 100px;
    }

    .header-top {
        padding: 0 40px 40px;
    }

    .hero-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 60px;
    }

    .hero-content {
        flex: 1;
    }

    .tagline {
        margin-left: 0;
    }

    .carousel {
        width: 340px;
        height: 740px;
        margin: 0;
    }


}

.carousel-track-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    padding: 0;
    margin: 0;
    list-style: none;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.2s;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-button--left {
    left: 15px;
}

.carousel-button--right {
    right: 15px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    z-index: 10;
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.current-slide {
    background: var(--primary);
    width: 20px;
    border-radius: 10px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 100px;
}

.feature-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--surface-light);
    border-color: rgba(245, 158, 11, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-muted);
}

/* Sections for Permissions Page */
.section {
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.icon {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
}

.why-it-matters {
    font-weight: 600;
    color: var(--success);
    font-size: 0.9rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
}

.watch-out {
    font-weight: 600;
    color: var(--error);
    font-size: 0.9rem;
    background: rgba(239, 68, 68, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    display: block;
    margin-top: 16px;
    border-left: 4px solid var(--error);
}

/* Footer */
footer {
    margin-top: 100px;
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 40px;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container>* {
    animation: fadeIn 0.8s ease-out forwards;
}