/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--text);
}

p,
span {
    color: var(--text-secondary);
}

/* Theme variables */
:root {
    --transition: all 0.3s ease;
}

/* Light Theme */
:root.light {
    --primary: #7B1FA2;
    --bg: #FFFFFF;
    --text: #000000;
    --text-secondary: #00000099;
    --shadow-dark: rgba(0, 0, 0, 0.2);
    --shadow-light: rgba(255, 255, 255, 0.8);
    --shadow-inset-dark: rgba(0, 0, 0, 0.4);
    --shadow-inset-light: rgba(255, 255, 255, 1);
}

/* Dark Theme */
:root.dark {
    --primary: #9C27B0;
    --bg: #000000;
    --text: #FFFFFF;
    --text-secondary: #FFFFFFCC;
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --shadow-light: rgba(255, 255, 255, 0.4);
    --shadow-inset-dark: rgba(0, 0, 0, 0.5);
    --shadow-inset-light: rgba(255, 255, 255, 0.2);
}

/* Ocean Theme */
:root.ocean {
    --primary: #00695C;
    --bg: #263238;
    --text: #FFFFFF;
    --text-secondary: #FFFFFFCC;
    --shadow-dark: rgba(0, 0, 0, 0.4);
    --shadow-light: rgba(38, 50, 56, 0.3);
    --shadow-inset-dark: rgba(0, 0, 0, 0.6);
    --shadow-inset-light: rgba(38, 50, 56, 0.2);
}

/* Cyberpunk Theme */
:root.cyberpunk {
    --primary: #E91E63;
    --bg: #0D0F1E;
    --text: #FFFFFF;
    --text-secondary: #FFFFFFCC;
    --shadow-dark: rgba(0, 0, 0, 0.5);
    --shadow-light: rgba(13, 15, 30, 0.4);
    --shadow-inset-dark: rgba(0, 0, 0, 0.7);
    --shadow-inset-light: rgba(13, 15, 30, 0.3);
}

/* Apply body colors */
body {
    background-color: var(--bg);
    color: var(--text);
}

/* Neumorphic styles */
.neumorphic {
    position: relative;
    background-color: var(--bg);
    box-shadow:
        4px 4px 15px var(--shadow-dark),
        -4px -4px 15px var(--shadow-light);
    border-radius: 10px;
    transition: var(--transition);
}

.neumorphic:hover {
    box-shadow:
        6px 6px 20px var(--shadow-dark),
        -6px -6px 20px var(--shadow-light);
}

.neumorphic-pressed {
    box-shadow:
        2px 2px 10px var(--shadow-inset-dark) inset,
        -2px -2px 10px var(--shadow-inset-light) inset;
}

/* Header */
header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg);
    box-shadow: 0 2px 10px var(--shadow-dark);
}

/* Logo placeholder */
.logo img {
    height: 50px;
    width: auto;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--text);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: var(--transition);
}

nav a:hover {
    background-color: var(--primary);
    color: var(--bg);
}

/* Theme toggle */
.theme-toggle {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 14px;
    background: linear-gradient(135deg, rgba(186, 104, 200, 0.8), rgba(156, 39, 176, 0.4), rgba(255, 255, 255, 0.1));
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content-section {
    margin-bottom: 40px;
    padding: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
}

.btn.neumorphic {
    background-color: var(--bg);
    color: var(--text);
}

/* Bonus Banner */
.bonus-banner {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(233, 30, 99, 0.1));
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 2px solid rgba(156, 39, 176, 0.3);
}

.bonus-banner h3 {
    margin-top: 0;
    color: #9C27B0;
}

.bonus-banner p {
    font-size: 16px;
    margin-bottom: 0;
}

/* Learn More Wrapper */
.learn-more-wrapper {
    margin-top: 20px;
}

/* AI Features List */
.ai-list {
    list-style: none;
    padding-left: 0;
}

/* Tier Grid */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tier-box {
    padding: 20px;
    border-radius: 8px;
}

.tier-box.free {
    background: rgba(255, 255, 255, 0.05);
}

.tier-box.premium {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(233, 30, 99, 0.2));
    border: 2px solid rgba(156, 39, 176, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}