:root {
    --cream: #fbf9f6;
    --ink: #1a1a1a;
    --gold: #c5a059;
    --rose: #e8dcd8;
    --soft-shadow: 0 10px 40px rgba(0,0,0,0.04);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--cream);
    color: var(--ink);
    margin: 0;
    overflow-x: hidden;
}

/* Subtle Paper Texture */
.grain-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    opacity: 0.3;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 2.5rem 10%;
    align-items: center;
    backdrop-filter: blur(5px);
}

.hero {
    text-align: center;
    padding: 120px 20px;
}

.badge {
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--gold);
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sub-hero {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    font-style: italic;
    color: var(--gold);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.step-no {
    font-family: 'Playfair Display';
    font-size: 2rem;
    color: var(--rose);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 0px; /* Sharp edges for a more professional look */
    box-shadow: var(--soft-shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.1);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.editor-box {
    background: white;
    padding: 60px;
    position: relative;
    border: 1px solid #ddd;
    box-shadow: var(--soft-shadow);
}

/* Decorative Wax Seal */
.wax-seal-decor {
    position: absolute;
    top: -25px;
    right: 50px;
    width: 60px;
    height: 60px;
    background: #8e2121;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

textarea {
    width: 100%;
    height: 250px;
    border: none;
    border-bottom: 1px solid #eee;
    background: #fdfdfd;
    padding: 20px 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 30px;
    outline: none;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #999;
}

select, input {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    background: var(--cream);
    font-family: inherit;
}

.btn-send {
    background: var(--ink);
    color: white;
    padding: 20px;
    width: 100%;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-send:hover {
    background: var(--gold);
    letter-spacing: 4px;
}

.privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 20px;
}
.chips { display: flex; gap: 10px; margin-bottom: 20px; }
.chips button {
    background: transparent;
    border: 1px solid var(--gold);
    padding: 8px 15px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}
.chips button:hover {
    background: var(--gold);
    color: white;
}
.paper-sheet {
    background: #fff;
    min-height: 300px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

#previewText {
    font-family: 'Playfair Display', serif;
    color: #333;
    white-space: pre-wrap;
}
.dashboard {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 60px 10%;
    background: #f4f1ed;
}

.paper-canvas {
    background: white;
    min-height: 700px;
    padding: 60px;
    box-shadow: 20px 20px 60px #d9d6d3, -20px -20px 60px #ffffff;
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
}

.signature-display {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.paper-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #bda370;
    margin-bottom: 40px;
}

.sig-box {
    width: 100%;
    height: 80px;
    border: 1px dashed #ccc;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dashboard {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 60px 10%;
    background: #f4f1ed;
}

.paper-canvas {
    background: white;
    min-height: 700px;
    padding: 60px;
    box-shadow: 20px 20px 60px #d9d6d3, -20px -20px 60px #ffffff;
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
}

.signature-display {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.paper-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #bda370;
    margin-bottom: 40px;
}

.sig-box {
    width: 100%;
    height: 80px;
    border: 1px dashed #ccc;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


