:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #f43f5e;
    --success: #10b981;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-white: #ffffff;
    --bg-soft: #f8fafc;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --radius: 20px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-soft);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
}

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

/* Background Decoration */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--success);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 100px) scale(1.1); }
}

/* Header & Nav */
#main-header {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.lead {
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

.glass-card-simple {
    background: var(--bg-soft);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.glass-card-simple h5 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Header & Nav */

/* Sections */
.page-section {
    display: none;
    padding: 6rem 0;
    animation: fadeIn 0.6s ease-out;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.btn-glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: var(--bg-white);
    transform: translateY(-3px);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.bento-item {
    text-decoration: none;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 240px;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.bento-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.bento-info span {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.bento-info h3 {
    font-size: 1.1rem;
    margin-top: 0.5rem;
    color: var(--text-main);
}

.bento-item.c1 { background: linear-gradient(135deg, #eff6ff, #dbeafe); }
.bento-item.c2 { background: linear-gradient(135deg, #fff1f2, #ffe4e6); }
.bento-item.c3 { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.bento-item.c4 { background: linear-gradient(135deg, #faf5ff, #f3e8ff); }
.bento-item.cs { background: linear-gradient(135deg, #fffbeb, #fef3c7); }

/* Content View */
.content-view {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 4rem;
}

.content-header {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
    flex-shrink: 0;
}

.back-btn:hover {
    background: var(--bg-soft);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(-5px);
}

.back-btn span {
    display: inline; /* Bring back the text */
}

.back-btn i {
    width: 18px;
    height: 18px;
}

.content-header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.content-body {
    font-size: 1.2rem;
    color: #334155;
}

.content-body h3 { margin: 3rem 0 1.5rem; font-size: 2rem; color: var(--text-main); }
.content-body p { margin-bottom: 1.5rem; }
.content-body ul { margin: 1.5rem 0; padding-left: 1.5rem; }
.content-body li { margin-bottom: 0.75rem; }

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
}

.timeline-item {
    flex: 1;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
}

.timeline-item.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.timeline-item.highlight .time, .timeline-item.highlight p { color: rgba(255,255,255,0.8); }

.time { font-weight: 800; color: var(--primary); margin-bottom: 1rem; }

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.tool-category {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    background: var(--bg-soft);
    border-radius: 100px;
    color: var(--primary);
}

.tool-filters {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Premium Content Elements */
.glass-info {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.data-table th {
    background: var(--bg-soft);
    padding: 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary);
}

.data-table td {
    padding: 1.25rem;
    border-top: 1px solid var(--border);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.card-small {
    background: var(--bg-soft);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.card-small:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.phase-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2.5rem 0;
    border-left: 6px solid var(--primary);
}

.prompt-premium {
    background: #1e293b;
    color: #e2e8f0;
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.prompt-premium::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 8rem;
    opacity: 0.1;
    font-family: serif;
}

.success-box {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px dashed var(--success);
}

.step.hidden {
    display: none;
}

.result-area {
    margin-top: 2rem;
}

.hidden {
    display: none !important;
}

/* Pro Card Styles */
.pro-card {
    background: var(--bg-white);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.pro-card-header {
    background: #f8fafc;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pro-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pro-card-title img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    background: white;
}

.pro-card-title h4 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-main);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.btn-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-link i {
    width: 14px;
    height: 14px;
}

.pro-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.activity-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.activity-item:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.activity-badge {
    position: absolute;
    top: -10px;
    left: 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.activity-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; }
    .glass-info { padding: 1.5rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item { height: auto; padding: 2rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; }
    h1 { font-size: 3rem; }
    .pro-card-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
