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

html {
    scroll-behavior: smooth;
}

a {
    color: #FFFFFF;
    text-decoration: none;
}

a:visited {
    color: #FFFFFF;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0F1318;
    color: #FFFFFF;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Bar */
.top-bar {
    padding: 32px 0;
}

.social-icons {
    display: flex;
    gap: 20px;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

.social-icons a {
    color: #FFFFFF;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.social-icons a:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
}

.hero-name {
    font-size: clamp(48px, 12vw, 96px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-name .first-name {
    display: block;
    font-weight: 400;
    color: #FFFFFF;
}

.hero-name .last-name {
    display: block;
    font-weight: 700;
    font-style: italic;
    color: #FFFFFF;
}

.hero-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #FFFFFF;
    margin-bottom: 32px;
}

.hero-statement {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 700;
    line-height: 1.3;
    color: #FFFFFF;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: 1px solid #FFFFFF;
    background: transparent;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
}

.ghost-button:hover {
    background: #FFFFFF;
    color: #0F1318;
}

.ghost-button.large {
    padding: 18px 32px;
    font-size: 16px;
}

.arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ghost-button:hover .arrow {
    transform: translateX(4px);
}

.hero-bio {
    font-size: 18px;
    line-height: 1.7;
    color: #FFFFFF;
    margin-bottom: 24px;
    max-width: 600px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.text-link:hover {
    opacity: 0.7;
}

/* Statement Section */
.statement {
    padding: 120px 0;
}

.statement-text {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}

.statement-subtext {
    font-size: 18px;
    line-height: 1.7;
    color: #FFFFFF;
    max-width: 640px;
}

/* Hectogon Ring */
.hectogon-ring-section {
    padding: 120px 0;
}

.ring-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ring-container {
    position: relative;
    width: 320px;
    height: 320px;
}

.ring-container svg {
    width: 100%;
    height: 100%;
}

.ring-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ring-amount {
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -1px;
}

.ring-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #FFFFFF;
    margin-top: 4px;
}

.ring-target {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 8px;
}

.ring-caption {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top: 32px;
    max-width: 360px;
}

@media (max-width: 768px) {
    .hectogon-ring-section {
        padding: 80px 0;
    }
    .ring-container {
        width: 260px;
        height: 260px;
    }
    .ring-amount {
        font-size: 34px;
    }
}

/* Credentials Section */
.credentials {
    padding: 80px 0;
}

.credential-card {
    display: flex;
    gap: 24px;
    padding: 48px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.credential-card:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.credential-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
}

.lawnhub-icon {
    border-color: #E85D26;
}

.lawnhub-icon svg {
    stroke: #E85D26;
}

.waterpro-icon {
    border-color: #2E86C1;
}

.waterpro-icon svg {
    stroke: #2E86C1;
}

.wateresource-icon {
    border-color: #3DA35D;
}

.wateresource-icon svg {
    stroke: #3DA35D;
}

.hectogon-icon {
    border-color: #FFFFFF;
}

.hectogon-icon svg {
    stroke: #FFFFFF;
}

.credential-content {
    flex: 1;
}

.credential-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.lawnhub-title {
    color: #E85D26;
}

.waterpro-title {
    color: #2E86C1;
}

.wateresource-title {
    color: #3DA35D;
}

.hectogon-title {
    color: #FFFFFF;
}

.credential-description {
    font-size: 17px;
    line-height: 1.6;
    color: #FFFFFF;
}

/* Expandable Cards */
.credential-card.expandable {
    cursor: pointer;
    transition: background 0.3s ease;
}

.credential-card.expandable:hover {
    background: rgba(255, 255, 255, 0.03);
}

.expand-arrow {
    font-weight: 400;
    font-size: 18px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.credential-card.expanded .expand-arrow {
    transform: rotate(45deg);
}

.credential-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0 0 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.credential-detail.open {
    max-height: 500px;
    padding: 0 0 48px 80px;
}

.detail-text {
    font-size: 16px;
    line-height: 1.7;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.detail-stats {
    display: flex;
    gap: 48px;
    margin: 32px 0;
}

.detail-stat {
    display: flex;
    flex-direction: column;
}

.detail-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
}

.detail-stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    margin-top: 4px;
}

.detail-links {
    margin-top: 24px;
}

@media (max-width: 768px) {
    .credential-detail {
        padding: 0 0 0 0;
    }
    .credential-detail.open {
        padding: 0 0 36px 0;
    }
    .detail-stats {
        gap: 32px;
    }
    .detail-stat-number {
        font-size: 24px;
    }
}

/* Fuck Normal Framework Section */
.framework {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.02);
}

.framework-heading {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.framework-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #FFFFFF;
    margin-bottom: 64px;
    max-width: 560px;
}

.framework-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.framework-node {
    padding: 20px 48px;
    border: 2px solid #FFFFFF;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    background: transparent;
}

.framework-arrow {
    font-size: 32px;
    color: #FFFFFF;
    line-height: 1;
}

.framework-loop {
    text-align: center;
    margin-bottom: 48px;
}

.framework-loop-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #FFFFFF;
}

.framework-text {
    font-size: 17px;
    line-height: 1.7;
    color: #FFFFFF;
    max-width: 600px;
}

@media (max-width: 768px) {
    .framework {
        padding: 80px 0;
    }
    
    .framework-heading {
        font-size: 32px;
    }
    
    .framework-intro {
        font-size: 16px;
        margin-bottom: 48px;
    }
    
    .framework-node {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .framework-arrow {
        font-size: 24px;
    }
}

/* Story Section */
.story {
    padding: 120px 0;
}

.story-text {
    font-size: 18px;
    line-height: 1.8;
    color: #FFFFFF;
    margin-bottom: 24px;
    max-width: 600px;
}

/* Timeline Section */
.timeline {
    padding: 120px 0;
}

.timeline-track {
    position: relative;
    padding-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding: 0 0 40px 0;
    display: flex;
    align-items: baseline;
    gap: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-year {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    min-width: 48px;
    letter-spacing: 0.05em;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0F1318;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.timeline-dot.waterpro-dot {
    border-color: #2E86C1;
    background: #2E86C1;
}

.timeline-dot.lawnhub-dot {
    border-color: #E85D26;
    background: #E85D26;
}

.timeline-dot.hectogon-dot {
    border-color: #FFFFFF;
    background: #FFFFFF;
}

.timeline-event {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.5;
}

.timeline-item.highlight .timeline-event {
    font-weight: 600;
}

@media (max-width: 768px) {
    .story {
        padding: 80px 0;
    }
    .story-text {
        font-size: 16px;
    }
    .timeline {
        padding: 80px 0;
    }
    .timeline-item {
        padding-bottom: 32px;
        gap: 16px;
    }
    .timeline-event {
        font-size: 15px;
    }
}

/* Laws Section */
.laws {
    padding: 120px 0;
}

.laws-heading {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.laws-subtitle {
    font-size: 17px;
    color: #FFFFFF;
    margin-bottom: 64px;
}

.laws-list {
    display: flex;
    flex-direction: column;
}

.law-item {
    display: flex;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.law-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.law-number {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    min-width: 40px;
}

.law-text {
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF;
}

.bonus-law {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.bonus-law.revealed {
    opacity: 1;
    transform: translateY(0);
}

.unlock-button {
    margin-top: 40px;
    padding: 16px 28px;
    border: 2px solid #FFFFFF;
    background: transparent;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.unlock-button:hover {
    background: #FFFFFF;
    color: #0F1318;
}

/* YouTube Section */
.youtube-section {
    padding: 120px 0;
}

.section-heading {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.section-subtitle {
    font-size: 17px;
    color: #FFFFFF;
    margin-bottom: 48px;
}

.section-subtitle .text-link {
    color: #FFFFFF;
    text-decoration: underline;
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.youtube-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.youtube-card:hover {
    transform: translateY(-4px);
}

.youtube-card a {
    text-decoration: none;
    color: #FFFFFF;
}

.youtube-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.youtube-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.youtube-play svg {
    margin-left: 3px;
}

.youtube-title {
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    margin-top: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.youtube-date {
    font-size: 12px;
    color: #FFFFFF;
    margin-top: 6px;
}

.youtube-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: #FFFFFF;
    font-size: 15px;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .youtube-section {
        padding: 80px 0;
    }
    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .section-heading {
        font-size: 24px;
    }
}

/* Photo Section */
.photo-section {
    padding: 120px 0;
}

.photo-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/5;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, #1a1f2e 0%, #0F1318 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.headshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.location {
    text-align: center;
    font-size: 17px;
    color: #FFFFFF;
}

/* Contact Section */
.contact {
    padding: 120px 0;
}

.contact-heading {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.contact-text {
    font-size: 18px;
    line-height: 1.7;
    color: #FFFFFF;
    margin-bottom: 40px;
    max-width: 560px;
}

/* Contact Form */
.contact-form {
    max-width: 560px;
    margin-top: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #FFFFFF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFFFFF;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: #0F1318;
    color: #FFFFFF;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    margin-top: 48px;
}

.success-text {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Footer */
.footer {
    padding: 80px 0 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.footer-social {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-social a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-year {
    font-size: 14px;
    color: #FFFFFF;
}

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

.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.visible {
    animation: fadeUp 0.8s ease forwards;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }

    .hero-name {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .hero-title {
        font-size: 11px;
        margin-bottom: 24px;
    }

    .hero-statement {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        margin-bottom: 32px;
    }

    .ghost-button {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }

    .hero-bio {
        font-size: 15px;
        line-height: 1.6;
    }

    .statement {
        padding: 80px 0;
    }

    .credentials {
        padding: 60px 0;
    }

    .credential-card {
        gap: 16px;
        padding: 36px 0;
    }

    .credential-icon {
        width: 48px;
        height: 48px;
    }

    .credential-icon svg {
        width: 24px;
        height: 24px;
    }

    .credential-title {
        font-size: 13px;
    }

    .credential-description {
        font-size: 15px;
    }

    .laws {
        padding: 80px 0;
    }

    .laws-heading {
        font-size: 24px;
    }

    .laws-subtitle {
        font-size: 15px;
        margin-bottom: 48px;
    }

    .law-item {
        gap: 20px;
        padding: 24px 0;
    }

    .law-number {
        font-size: 16px;
        min-width: 32px;
    }

    .law-text {
        font-size: 17px;
    }

    .photo-section {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-heading {
        font-size: 24px;
    }

    .contact-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .social-icons {
        padding: 0 20px;
    }

    .top-bar {
        padding: 24px 0;
    }

    .hero {
        padding: 40px 0 60px;
    }

    .law-item {
        gap: 16px;
    }

    .law-number {
        min-width: 24px;
        font-size: 15px;
    }

    .law-text {
        font-size: 16px;
    }
}
