:root {
    /* 2018 SaaS Palette */
    --bg-body: #f4f6f9;
    /* Light Gray/Blueish */
    --bg-surface: #ffffff;
    --bg-surface-hover: #ffffff;

    /* Vibrant Gradients (Sunset Era) */
    --primary-gradient: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    /* Sunset Orange */
    --secondary-gradient: linear-gradient(135deg, #FF9966 0%, #FF5E62 100%);
    /* Sunrise */

    --text-main: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;

    /* Spacing & Layout */
    --container-width: 1100px;
    /* Slightly tighter */
    --header-height: 80px;

    /* Material 2.0 Shadows */
    --glass-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass-border: 1px solid #e2e8f0;
    /* Use proper border color */
    --backdrop-blur: none;
    /* Less glass, more solid */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    /* The 2018 font */
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

/* Abstract Background Shapes (SVG style) */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: #ffffff;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    z-index: -1;
}

body::after {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
    /* Not sticky usually in 2018 landing pages, or sticky white */
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    letter-spacing: -0.5px;
    background: none;
    -webkit-text-fill-color: initial;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 30px;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #FF6B6B;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    /* Pill buttons */
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.25);
    /* Colored shadow */
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 107, 107, 0.35);
}

.glass-card {
    background: var(--bg-surface);
    border: none;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Tool cards in grid - align buttons */
.grid-2 .glass-card {
    display: flex;
    flex-direction: column;
}

.grid-2 .glass-card .btn {
    margin-top: auto;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.15;
    color: #1a202c;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    color: #2d3748;
    font-weight: 700;
}

p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Responsive Preview */
.preview-section svg {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: none;
    background: #ffffff;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.footer-content p {
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: #718096;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #FF6B6B;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Custom for Inputs (Material 2018 style) */
input,
select {
    background: #edf2f7 !important;
    border: 1px solid transparent !important;
    color: #4a5568 !important;
    font-family: 'Poppins', sans-serif !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    transition: background 0.2s, border-color 0.2s !important;
}

input:focus,
select:focus {
    background: #ffffff !important;
    border-color: #FF8E53 !important;
    box-shadow: 0 0 0 3px rgba(255, 142, 83, 0.2) !important;
}

/* Ad Space Placeholders */
.ad-container {
    width: 100%;
    max-width: 728px;
    /* Standard Leaderboard */
    height: 90px;
    background: #f0f4f8;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.ad-container:hover {
    border-color: #FF8E53;
    color: #FF8E53;
    background: #fff;
    cursor: pointer;
}