:root {
    --bg-color: #0c0f12;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #2dd4bf; /* Teal 400 */
    --accent-hover: #14b8a6; /* Teal 500 */
    --accent-glow: rgba(45, 212, 191, 0.2);
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-border: rgba(148, 163, 184, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    /* Soft ambient background glow */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.1), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(45, 212, 191, 0.05), transparent 40%);
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    gap: 4rem;
    padding: 6rem 0 2rem;
}

.hero-content {
    flex: 1;
    max-width: 580px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.highlight {
    color: var(--accent);
    background: linear-gradient(135deg, #2dd4bf, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero strong {
    color: var(--text-main);
    font-weight: 500;
}

.hero-cta {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    border: 1px solid var(--accent);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--accent);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.image-wrapper {
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    z-index: 2;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image img:hover {
    transform: translateY(-5px) scale(1.02);
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 1;
}

/* Value Section */
.value-section {
    padding: 3rem 0 5rem;
}

.resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: rgba(45, 212, 191, 0.25);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-glow);
}

.resource-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(45, 212, 191, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.icon {
    width: 32px;
    height: 32px;
}

.resource-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.4;
}

.resource-card p {
    color: var(--text-muted);
    font-weight: 300;
}

/* Form Section */
.form-section {
    padding: 5rem 0;
    display: flex;
    justify-content: center;
}

.form-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 4rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative;
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.input-group input {
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.2rem;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -10px var(--accent);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px var(--accent);
}

.privacy-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    font-weight: 300;
}

/* Authority Section */
.authority {
    padding: 6rem 0 4rem;
}

.authority-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(to right, transparent, rgba(30, 41, 59, 0.3), transparent);
    padding: 3rem;
    border-radius: 24px;
}

.author-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    filter: grayscale(10%) contrast(1.1);
}

.author-text {
    flex: 1;
}

.quote {
    font-size: 1.4rem;
    font-family: serif;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.5;
}

.author-name {
    color: var(--accent);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .authority-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .form-container {
        padding: 2rem;
    }
    
    h1 {
        font-size: 2.25rem;
    }
}

/* Card Updates for Buttons */
.resource-card {
    display: flex;
    flex-direction: column;
}

.resource-card p {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.download-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.download-btn:hover {
    background: var(--accent);
    color: var(--bg-color);
    box-shadow: 0 5px 15px var(--accent-glow);
}

/* Modal Styles */
.modal {
    display: flex;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 15, 18, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0; 
    max-width: 500px;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: var(--text-main);
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-main);
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-audio {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-pdf {
    background: rgba(45, 212, 191, 0.15);
    color: var(--accent);
    border: 1px solid rgba(45, 212, 191, 0.3);
}
