:root{
    --primary:#6366f1;
    --secondary:#818cf8;
    --bg:#f8fafc;
    --card:#ffffff;
    --text:#1e293b;
    --muted:#64748b;
    --border:#e2e8f0;
    --success:#10b981;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    background:var(--bg);
    color:var(--text);
}

.container{
    width:min(1100px,90%);
    margin:auto;
}

header{
    padding:20px 0;
    border-bottom:1px solid var(--border);
    background:white;
    position:sticky;
    top:0;
    backdrop-filter:blur(10px);
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:1.3rem;
    font-weight:700;
    color:var(--primary);
}

.hero{
    text-align:center;
    padding:80px 0;
}

.hero h1{
    font-size:3rem;
    margin-bottom:15px;
}

.hero p{
    color:var(--muted);
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

.badge{
    display:inline-block;
    padding:8px 18px;
    background:#eef2ff;
    color:var(--primary);
    border-radius:50px;
    margin-bottom:20px;
    font-weight:600;
}

.script-section{
    margin-bottom:80px;
}

.card{
    background:var(--card);
    border-radius:20px;
    border:1px solid var(--border);
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.card-header{
    padding:20px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid var(--border);
}

.card-header h2{
    font-size:1.2rem;
}

.status{
    color:var(--success);
    font-weight:600;
}

pre{
    overflow-x:auto;
}

code{
    display:block;
    padding:30px;
    background:#0f172a;
    color:#e2e8f0;
    font-size:.95rem;
    line-height:1.7;
}

.info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:40px;
}

.info-card{
    background:white;
    padding:25px;
    border-radius:16px;
    border:1px solid var(--border);
}

.info-card h3{
    color:var(--primary);
    margin-bottom:10px;
}

footer{
    text-align:center;
    padding:40px 0;
    color:var(--muted);
}

@media(max-width:768px){
    .hero h1{
        font-size:2rem;
    }
}
.preview-section {
    width: 100%;
    padding: 4rem 0;
}

.preview-card {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: var(--light-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.window-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-header span:nth-child(1) {
    background: #ff5f57;
}

.window-header span:nth-child(2) {
    background: #febc2e;
}

.window-header span:nth-child(3) {
    background: #28c840;
}

.output-image {
    display: block;
    width: 100%;
    height: auto;
}
.screenshot-section {
    padding: 5rem 2rem;
    text-align: center;
}

.section-header {
    margin-bottom: 2rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.section-header p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.screenshot-card {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.window-header {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.window-header span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-header span:nth-child(1) {
    background: #ff5f57;
}

.window-header span:nth-child(2) {
    background: #febc2e;
}

.window-header span:nth-child(3) {
    background: #28c840;
}

.screenshot-image {
    width: 100%;
    display: block;
    height: auto;
}

/* ===========================
   FILE CARDS SECTION
=========================== */

.files-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin: 40px auto;
}

/* Card */

.file-card {
    width: 360px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 10px 25px rgba(0,0,0,.08),
        0 2px 6px rgba(0,0,0,.04);
    transition: all .25s ease;
    cursor: pointer;
}

.file-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 40px rgba(0,0,0,.12),
        0 6px 12px rgba(0,0,0,.06);
}

/* Mac Window Header */

.file-card-header {
    position: relative;
    background: #f6f6f7;
    border-bottom: 1px solid #e5e7eb;
    padding: 18px 20px 20px;
}

.file-card-header::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 18px;

    width: 12px;
    height: 12px;
    border-radius: 50%;

    background: #ff5f57;

    box-shadow:
        20px 0 #febc2e,
        40px 0 #28c840;
}

.file-card-header h2 {
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.file-card-header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Download Button */

.file-download-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;

    background: #007aff;
    color: white;

    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;

    transition: .2s ease;
}

.file-download-btn:hover {
    background: #0063d1;
    transform: translateY(-1px);
}

/* Type Badge */

.file-type {
    margin: 18px 20px;
    display: inline-block;

    padding: 8px 14px;
    border-radius: 999px;

    color: white;
    font-size: .85rem;
    font-weight: 700;
}

.ddl {
    background: #34c759;
}

.dml {
    background: #ff9500;
}

.dql {
    background: #af52de;
}

/* Expandable Preview */

.file-preview {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height .45s ease,
        padding .3s ease;

    padding: 0 20px;
}

.file-card.active .file-preview {
    max-height: 450px;
    padding: 0 20px 20px;
}

/* Preview Text */

.file-preview h4 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.file-preview p {
    color: #6b7280;
    line-height: 1.5;
}

/* Code Block */

.file-preview pre {
    margin-top: 10px;

    background: #111827;
    color: #f8fafc;

    padding: 16px;
    border-radius: 12px;

    overflow-x: auto;
}

.file-preview code {
    font-family: Consolas, Monaco, monospace;
    font-size: .9rem;
    line-height: 1.5;
}

/* Mobile */

@media (max-width: 1200px) {
    .files-grid {
        flex-wrap: wrap;
    }

    .file-card {
        width: 100%;
        max-width: 450px;
    }
}
