/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 56px;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 56px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.logo {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo__img {
    display: block;
    height: 48px;
    width: auto;
}

/* Header Navigation */
.header__nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.header__btn {
    display: inline-block;
    height: 36px;
    padding: 0 16px;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.header__btn--primary {
    background-color: #A4EA43;
    color: #000000;
    border-color: #A4EA43;
}

.header__btn--primary:hover {
    background-color: #8fd632;
    border-color: #8fd632;
}

.header__btn--secondary {
    background-color: #ffffff;
    color: #000000;
    border-color: #B7B7B7;
}

.header__btn--secondary:hover {
    background-color: #ffffff;
    border-color: #A4EA43;
}

/* Hero Section */
.hero {
    padding: 40px 0;
    background-color: #ffffff;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 48px;
    max-width: 1200px;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    width: 192px;
    height: 48px;
    padding: 0;
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn--primary {
    background-color: #A4EA43;
    color: #000000;
    border-color: #A4EA43;
}

.btn--primary:hover {
    background-color: #8fd632;
    border-color: #8fd632;
}

.btn--secondary {
    background-color: #ffffff;
    color: #000000;
    border-color: #B7B7B7;
}

.btn--secondary:hover {
    background-color: #ffffff;
    border-color: #A4EA43;
}

/* Founder Letter Section */
.founder-letter {
    padding: 40px 0;
    background-color: #ffffff;
}

.founder-letter__card {
    background-color: #EDEDED;
    padding: 32px;
    max-width: 1200px;
    margin: 0;
}

.founder-letter__section {
    margin-bottom: 0;
}

.founder-letter__text {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #000000;
    line-height: 1.5;
}

.founder-letter__text:last-child {
    margin-bottom: 0;
}

.founder-letter__divider {
    height: 1px;
    background: none;
    border: none;
    border-top: 1px dotted #B7B7B7;
    margin: 8px 0 32px 0;
}

.founder-letter__divider_inverse {
    height: 1px;
    background: none;
    border: none;
    border-top: 1px dotted #B7B7B7;
    margin: 32px 0 8px 0;
}

/* Specific styling for the last section (Pavel Gvay section) */
.founder-letter__section:last-child {
    margin-top: 0;
}

.founder-letter__section:last-child .founder-letter__text:first-child {
    margin-bottom: 4px;
}

/* Special styling for specific founder letter text */
.founder-letter__section:first-child .founder-letter__text,
.founder-letter__section:last-child .founder-letter__text {
    color: #686868;
}

/* Process Section */
.process {
    padding: 40px 0;
    background-color: #ffffff;
}

.process__title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 64px;
    max-width: 1200px;
    color: #000000;
}

.process__steps {
    max-width: 800px;
}

.process__step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.process__step:last-child {
    margin-bottom: 0;
}

.process__step-number {
    flex-shrink: 0;
    width: auto;
    height: auto;
    background-color: transparent;
    color: #A4EA43;
    font-family: 'DotGothic16', monospace;
    font-size: 28px;
    font-weight: 400;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: -8px;
    min-width: 80px;
}

.process__step-content {
    flex: 1;
}

.process__step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000000;
}

.process__step-duration {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    margin-bottom: 8px;
}

.process__step-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

/* Pricing Section */
.pricing {
    padding: 40px 0;
    background-color: #ffffff;
}

.pricing__title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 48px;
    max-width: 1200px;
    color: #000000;
}

.pricing__card {
    background-color: #ffffff;
    border: 2px solid #B7B7B7;
    padding: 32px;
    max-width: 1200px;
    margin: 0;
    transition: all 0.2s ease;
}

.pricing__section {
    margin-bottom: 0;
}

.pricing__plan-name {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #686868;
    line-height: 1.5;
}

.pricing__price {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #000000;
    line-height: 1.5;
    font-family: 'Figtree', sans-serif;
    padding-left: 8px;
}

.pricing__price strong {
    font-family: 'Figtree', sans-serif; 
    font-size: 32px;
    font-weight: 700;
}

.pricing__text {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #000000;
    line-height: 1.5;
}

.pricing__text:last-child {
    margin-bottom: 0;
}

.pricing__text strong {
    font-weight: 700;
}

.pricing__divider {
    height: 1px;
    background: none;
    border: none;
    border-top: 1px dotted #B7B7B7;
    margin: 32px 0;
}

.pricing__divider:last-of-type {
    margin: 32px 0;
}

.pricing__features,
.pricing__included {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing__feature,
.pricing__included-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.5;
}

.pricing__feature:last-child,
.pricing__included-item:last-child {
    margin-bottom: 0;
}

.pricing__checkbox {
    width: 20px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* FAQ Section */
.faq {
    padding: 40px 0;
    background-color: #ffffff;
}

.faq__title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 48px;
    max-width: 1200px;
    color: #000000;
}

.faq__card {
    background-color: #ffffff;
    border: 1px dotted #B7B7B7;
    padding: 32px;
    max-width: 1200px;
    margin: 0;
}

.faq__item {
    margin-bottom: 0;
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    font-family: 'Figtree', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
    color: #000000;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    transition: color 0.2s ease;
}

.faq__question:hover {
    color: #A4EA43;
}

.faq__question:focus {
    outline: none;
}

.faq__icon {
    font-size: 24px;
    font-weight: 400;
    color: #000000;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq__question[aria-expanded="true"] .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    margin-bottom: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.faq__answer.expanded {
    max-height: 1000px;
    margin-top: 16px;
    transition: max-height 0.3s ease-in;
}

.faq__answer-content {
    padding-top: 0;
    padding-bottom: 16px;
}

.faq__text {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
    color: #000000;
    line-height: 1.5;
}

.faq__text:last-child {
    margin-bottom: 0;
}

.faq__list {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}

.faq__list:last-child {
    margin-bottom: 0;
}

.faq__list-item {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.faq__list-item:last-child {
    margin-bottom: 0;
}

.faq__list-item::before {
    content: "- ";
    position: absolute;
    left: 0;
    color: #000000;
}

.faq__divider {
    height: 1px;
    background: none;
    border: none;
    border-top: 1px dotted #B7B7B7;
    margin: 32px -32px;
}

.faq__divider:last-of-type {
    display: none;
}

/* Responsive Design */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    .header__nav {
        gap: 16px;
    }
    
    .header__btn {
        height: 38px;
        padding: 0 18px;
        font-size: 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero__title {
        font-size: 4rem;
    }
    
    .founder-letter__card {
        padding: 32px;
    }
    
    .process {
        padding: 40px 0;
    }
    
    .process__title {
        font-size: 3rem;
    }
    
    .process__step {
        gap: 40px;
        margin-bottom: 56px;
    }
    
    .process__step-number {
        font-size: 30px;
        min-width: 90px;
    }
    
    .pricing {
        padding: 40px 0;
    }
    
    .pricing__title {
        font-size: 3rem;
    }
    
    .pricing__card {
        padding: 32px;
    }
    
    .faq {
        padding: 40px 0;
    }
    
    .faq__title {
        font-size: 3rem;
    }
    
    .faq__card {
        padding: 32px;
    }
    
    .final-cta {
        padding: 40px 0;
    }
    
    .final-cta__card {
        padding: 48px 32px;
    }
    
    .final-cta__heading {
        font-size: 3rem;
        margin-bottom: 40px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .container {
        padding: 0 60px;
    }
    
    .header__nav {
        gap: 16px;
    }
    
    .header__btn {
        height: 40px;
        padding: 0 20px;
        font-size: 16px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero__title {
        font-size: 4.5rem;
        margin-bottom: 56px;
    }
    
    .hero__cta {
        gap: 20px;
    }
    
    .btn {
        width: 192px;
        height: 48px;
        font-size: 18px;
    }
    
    .founder-letter {
        padding: 80px 0;
    }
    
    .founder-letter__card {
        padding: 32px;
    }
    
    .founder-letter__text {
        font-size: 18px;
    }
    
    .process {
        padding: 80px 0;
    }
    
    .process__title {
        font-size: 3.5rem;
        margin-bottom: 80px;
    }
    
    .process__step {
        gap: 48px;
        margin-bottom: 64px;
    }
    
    .process__step-number {
        font-size: 32px;
        min-width: 100px;
    }
    
    .process__step-title {
        font-size: 22px;
    }
    
    .process__step-duration {
        font-size: 16px;
    }
    
    .process__step-description {
        font-size: 18px;
    }
    
    .pricing {
        padding: 80px 0;
    }
    
    .pricing__title {
        font-size: 3.5rem;
        margin-bottom: 48px;
    }
    
    .pricing__card {
        padding: 32px;
    }
    
    .pricing__text,
    .pricing__feature,
    .pricing__included-item {
        font-size: 18px;
    }
    .pricing__price {
        font-size: 16px;
    }
    
    .faq {
        padding: 80px 0;
    }
    
    .faq__title {
        font-size: 3.5rem;
        margin-bottom: 48px;
    }
    
    .faq__card {
        padding: 32px;
    }
    
    .faq__question {
        font-size: 22px;
    }
    
    .faq__icon {
        font-size: 26px;
    }
    
    .faq__text,
    .faq__list-item {
        font-size: 18px;
    }
    
    .final-cta {
        padding: 80px 0;
    }
    
    .final-cta__card {
        padding: 56px 32px;
    }
    
    .final-cta__heading {
        font-size: 3.5rem;
        margin-bottom: 48px;
    }
    
    .final-cta__buttons {
        gap: 20px;
    }
}

/* Mobile-specific adjustments (320px to 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
    
    .header__nav {
        gap: 8px;
    }
    
    .header__btn {
        height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero__title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }
    
    
    .hero__cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 192px;
        height: 48px;
        font-size: 16px;
    }
    
    .founder-letter {
        padding: 40px 0;
    }
    
    .founder-letter__card {
        padding: 32px;
    }
    
    .founder-letter__text {
        font-size: 15px;
    }
    
    .process {
        padding: 40px 0;
    }
    
    .process__title {
        font-size: 2rem;
        margin-bottom: 24px;
    }
    
    .process__step {
        gap: 20px;
        margin-bottom: 48px;
    }
    
    .process__step-number {
        font-size: 24px;
        min-width: 70px;
    }
    
    .process__step-title {
        font-size: 18px;
    }
    
    .process__step-duration {
        font-size: 13px;
    }
    
    .process__step-description {
        font-size: 15px;
    }
    
    .pricing {
        padding: 40px 0;
    }
    
    .pricing__title {
        font-size: 2rem;
        margin-bottom: 24px;
    }
    
    .pricing__card {
        padding: 32px;
    }
    
    .pricing__text,
    .pricing__feature,
    .pricing__included-item {
        font-size: 15px;
    }
    .pricing__price {
        font-size: 16px;
    }
    
    .faq {
        padding: 40px 0;
    }
    
    .faq__title {
        font-size: 2rem;
        margin-bottom: 24px;
    }
    
    .faq__card {
        padding: 32px;
    }
    
    .faq__question {
        font-size: 18px;
    }
    
    .faq__icon {
        font-size: 22px;
        margin-left: 12px;
    }
    
    .faq__text,
    .faq__list-item {
        font-size: 15px;
    }
    
    .final-cta {
        padding: 40px 0;
    }
    
    .final-cta__card {
        padding: 40px 24px;
    }
    
    .final-cta__heading {
        font-size: 2rem;
        margin-bottom: 32px;
    }
    
    .final-cta__buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Performance Optimizations */
.hero__title,
.process__title,
.pricing__title {
    font-display: swap;
}

/* Prevent layout shift */

.btn {
    will-change: transform;
}

/* Focus states for accessibility */
.btn:focus,
.header__btn:focus {
    outline: 2px solid #A4EA43;
    outline-offset: 2px;
}

/* Final CTA Section */
.final-cta {
    padding: 40px 0;
    background-color: #ffffff;
}

.final-cta__card {
    background-color: #ffffff;
    padding: 48px 32px;
    max-width: 1200px;
    margin: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Crect width='8' height='8' fill='%23ffffff'/%3E%3Crect x='0' y='0' width='1' height='1' fill='%23000000'/%3E%3Crect x='4' y='2' width='1' height='1' fill='%23000000'/%3E%3Crect x='0' y='4' width='1' height='1' fill='%23000000'/%3E%3Crect x='4' y='6' width='1' height='1' fill='%23000000'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 8px 8px;
    opacity: 0.3;
    pointer-events: none;
}

.final-cta__heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
    color: #000000;
    position: relative;
    z-index: 1;
}

.final-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    padding: 24px 0;
    background-color: #ffffff;
    border-top: 1px solid #B7B7B7; /* Top divider */
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__logo .logo__img {
    height: 32px; /* Smaller logo in footer */
}

.footer__copyright,
.footer__email {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.5;
    white-space: nowrap;
}

.footer__copyright {
    flex-grow: 1;
    text-align: center;
}

.footer__email:hover {
    color: #A4EA43;
}

/* Mobile adjustments for footer (max-width: 767px) */
@media (max-width: 767px) {
    .footer {
        padding: 20px 0;
    }
    
    .footer__content {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .footer__logo {
        order: 1;
    }
    
    .footer__copyright {
        order: 2;
        text-align: center;
        flex-grow: 0;
    }
    
    .footer__email {
        order: 3;
    }
}
/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}