@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #030303;
    --acc-color: #8b5cf6;
    --acc-glow: rgba(139, 92, 246, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #b062f0 100%);
    --gradient-text: linear-gradient(to bottom right, #fff 30%, #a1a1aa 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Gradients */
.bg-glow {
    position: fixed;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 60%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Header */
header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--card-border);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px var(--acc-glow));
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
}

.badge {
    background: rgba(139, 92, 246, 0.1);
    color: var(--acc-color);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    font-weight: 700;
    border: 1px solid rgba(139, 92, 246, 0.3);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--acc-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--acc-color);
}

h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom right, #fff 40%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 span {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Buttons */
.btn-primary {
    background: var(--gradient-purple);
    color: white;
    padding: 1rem 2rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -10px var(--acc-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px -10px var(--acc-glow);
}

/* Feature Grid */
.features {
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 8rem 2rem;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    max-width: 500px;
    margin: 2.5rem auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 0.5rem;
    border-radius: 99px;
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--acc-color);
}

.input-group input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0 1.5rem;
    flex-grow: 1;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--acc-color);
}

/* Policy Page Layout */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.page-container h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.return-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--acc-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
}

.return-home:hover {
    text-decoration: underline;
}

/* ArrowsMaster specific light theme override */
.light-theme {
    background-color: #f8fafc;
    color: #1e293b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --card-border: rgba(0, 0, 0, 0.1);
}

.light-theme h1 {
    background: linear-gradient(to bottom right, #1e293b 40%, rgba(30, 41, 59, 0.6) 100%);
    -webkit-background-clip: text;
}
