/* Variables */
:root {
    --primary-color: #0F172A; /* Dark Slate / Midnight */
    --accent-color: #3B82F6; /* Bright Blue */
    --text-color: #334155; /* Slate Gray */
    --light-bg: #F8FAFC; /* Off-white */
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

/* Header */
header {
    padding: 20px 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    overflow: hidden; /* Prevent 3D element overflow */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 480px;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

    .cta-button:hover {
        transform: translateY(-2px);
        background-color: #2563eb;
    }

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    min-height: 400px;
    align-items: center;
}

/* Hook Section */
.hook-section {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.hook-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.quote {
    font-style: italic;
    font-size: 1.3rem;
    color: #475569;
    margin-bottom: 30px;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    text-align: left;
}

/* Framework Section */
.framework-section {
    padding: 80px 20px;
    background-color: #e2e8f0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}

.tame-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tame-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

    .tame-card:hover {
        transform: translateY(-5px);
    }

    .tame-card .letter {
        font-family: var(--font-heading);
        font-size: 3rem;
        font-weight: 900;
        color: var(--accent-color);
        margin-bottom: 15px;
    }

    .tame-card h3 {
        font-family: var(--font-heading);
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: var(--primary-color);
    }

    .tame-card p {
        font-size: 0.95rem;
        color: #64748b;
    }

/* Form Section */
.form-section {
    padding: 100px 20px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.form-card {
    max-width: 600px;
    margin: 0 auto;
}

.signup-form {
    margin-top: 30px;
}

.input-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.signup-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    min-width: 250px;
}

.signup-form button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

    .signup-form button:hover {
        background-color: #2563eb;
    }

.disclaimer {
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #1e293b;
}

.trademark {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-visual {
        margin-bottom: 40px;
    }

    .hero-text {
        margin: 0 auto 30px auto;
    }

    .input-group {
        flex-direction: column;
    }

    .signup-form input[type="email"], .signup-form button {
        width: 100%;
    }
}
