/* --- VARIABLES & RESET --- */
:root {
    /* Startup Palette */
    --primary: #6c5ce7; /* "Blurple" */
    --primary-dark: #5849c2;
    --accent: #a29bfe;
    
    /* Backgrounds */
    --bg-body: #fdfdfd;
    --bg-surface: #ffffff;
    --bg-input: #f8f9fa;
    
    /* Text */
    --text-main: #2d3436;
    --text-muted: #636e72;
    --text-light: #b2bec3;
    
    /* Shadows & Borders */
    --shadow-card: 0 20px 40px rgba(0,0,0,0.08);
    --shadow-float: 0 10px 30px rgba(108, 92, 231, 0.2);
    --border: #dfe6e9;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- DECORATIVE SHAPES (The "Figma Vector" Look) --- */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
}
.shape-1 {
    width: 600px; height: 600px;
    background: #e0dbff;
    top: -200px; right: -100px;
}
.shape-2 {
    width: 500px; height: 500px;
    background: #ffeaa7; /* Soft yellow accent */
    bottom: 0; left: -150px;
    opacity: 0.3;
}

/* --- UTILS --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
a { text-decoration: none; transition: 0.2s; }

/* --- NAVBAR --- */
.navbar {
    padding: 1.5rem 0;
    background: transparent;
    position: relative;
    z-index: 100;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex; align-items: center; gap: 0.8rem;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--text-main);
}
.logo-box {
    width: 36px; height: 36px; background: var(--text-main); color: white;
    border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

.nav-links { display: none; }
@media(min-width: 768px) {
    .nav-links { display: flex; gap: 2.5rem; font-weight: 600; color: var(--text-muted); font-size: 0.95rem; }
    .nav-links a:hover { color: var(--primary); }
}

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.btn-text { font-weight: 600; color: var(--text-main); font-size: 0.95rem; }
.btn-text:hover { color: var(--primary); }

.btn-primary {
    background: var(--primary); color: white;
    padding: 0.8rem 1.5rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.25);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-primary.small { padding: 0.6rem 1.2rem; }

/* --- HERO SECTION --- */
.hero-section { padding: 3rem 0 6rem 0; display: flex; align-items: center; min-height: 85vh; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }

@media(min-width: 992px) {
    .hero-grid { grid-template-columns: 0.8fr 1.2fr; } /* Layout Preference */
}

/* Hero Text */
.tag-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.8rem; background: #edeaff; color: var(--primary);
    border-radius: 100px; font-size: 0.75rem; font-weight: 700;
    margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.tag-pill .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem; line-height: 1.1; font-weight: 800;
    color: var(--text-main); margin-bottom: 1.5rem; letter-spacing: -0.03em;
}
.highlight { color: var(--primary); }

.hero-subtitle {
    font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 90%;
}

.hero-stats {
    display: flex; align-items: center; gap: 2rem;
    padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat-item strong { display: block; font-size: 1.5rem; font-family: var(--font-heading); color: var(--text-main); }
.stat-item span { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.divider { width: 1px; height: 40px; background: var(--border); }

/* --- THE TOOL CARD (SaaS App Style) --- */
.tool-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
    position: relative;
    /* Static layout per previous request */
    transform: none; 
}

/* Mac Window Bar */
.card-bar {
    background: #f8f9fa; border-bottom: 1px solid var(--border);
    padding: 0.8rem 1.5rem; display: flex; align-items: center;
    position: relative;
}
.traffic-lights { display: flex; gap: 6px; }
.traffic-lights span { width: 10px; height: 10px; border-radius: 50%; background: #dfe6e9; }
.traffic-lights span:nth-child(1) { background: #ff7675; }
.traffic-lights span:nth-child(2) { background: #fdcb6e; }
.traffic-lights span:nth-child(3) { background: #00b894; }

.bar-title {
    position: absolute; left: 0; right: 0; text-align: center;
    font-size: 0.8rem; font-weight: 600; color: var(--text-light);
    font-family: monospace;
}

.tool-body { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }

/* Form Elements */
label {
    display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-main);
    margin-bottom: 0.5rem; font-family: var(--font-heading);
}

.input-wrapper {
    position: relative;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: 0.2s;
}
.input-wrapper:focus-within {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.input-icon {
    position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
    color: var(--text-light); font-size: 1.2rem;
}

input, select {
    width: 100%; border: none; background: transparent;
    padding: 1rem 1rem 1rem 3rem; /* Space for icon */
    font-family: var(--font-body); font-size: 1rem; color: var(--text-main);
}
input:focus, select:focus { outline: none; }

/* Select Inputs */
.controls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
select { padding-left: 1rem; cursor: pointer; color: var(--text-main); }

/* Generate Button */
.btn-generate {
    width: 100%; padding: 1rem;
    background: var(--primary); color: white;
    border: none; border-radius: var(--radius-md);
    font-weight: 700; font-size: 1rem;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: 0.2s;
    box-shadow: var(--shadow-float);
}
.btn-generate:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Result Box */
.result-block {
    margin-top: 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.result-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.result-header label { color: var(--text-muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; }

#copy-status { font-size: 0.75rem; color: #00b894; font-weight: 600; opacity: 0; transition: opacity 0.3s; }
#copy-status.visible { opacity: 1; }

textarea {
    width: 100%; min-height: 120px; resize: none; border: none; background: transparent;
    font-family: 'Menlo', monospace; font-size: 0.9rem; color: var(--text-main); line-height: 1.6;
}
textarea:focus { outline: none; }

.copy-btn {
    position: absolute; top: 1rem; right: 1rem;
    background: white; border: 1px solid var(--border);
    width: 32px; height: 32px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); cursor: pointer; transition: 0.2s;
}
.copy-btn:hover { border-color: var(--primary); color: var(--primary); }

/* --- FEATURES SECTION --- */
.features-section { padding: 6rem 0; background: white; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem auto; }
.section-header h2 { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }

.feature-card {
    background: var(--bg-body); padding: 2rem; border-radius: var(--radius-lg);
    transition: 0.3s; border: 1px solid transparent;
}
.feature-card:hover { transform: translateY(-5px); background: white; box-shadow: var(--shadow-card); }

.icon-circle {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.5rem;
}
.color-1 { background: #e0dbff; color: var(--primary); }
.color-2 { background: #ffecec; color: #ff7675; }
.color-3 { background: #dff9fb; color: #00cec9; }

.feature-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* --- FOOTER --- */
.footer { padding: 3rem 0; border-top: 1px solid var(--border); background: white; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-brand h4 { font-weight: 800; color: var(--text-main); }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.footer-links a:hover { color: var(--primary); }

/* --- RESPONSIVE --- */
@media(max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .tool-card { min-height: auto; }
    .controls-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
}
/* Mobile */
@media(max-width: 900px) {
    .hero-title { font-size: 2.5rem; text-align: center; }
    .hero-subtitle { text-align: center; margin: 0 auto 2.5rem auto; }
    .controls-row { grid-template-columns: 1fr; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .tool-body { padding: 1.5rem; }
}
/* SEO CONTENT */
.seo-content {
    padding: 5rem 0;
    background: #ffffff;
}
.seo-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.seo-content p,
.seo-content li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}
.seo-content ul,
.seo-content ol {
    margin: 1rem 0 2rem 1.5rem;
}

/* FAQ */
.faq-section {
    padding: 5rem 0;
    background: #f8f9fa;
}
.faq-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}
.faq-section h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}
.faq-section p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}