/* CSS Variables for Colors */
:root {
    --blue: #8093ff;
    --dark: #3a4376;
    --medium: #6a74af;
    --bg-light: #f7f7f7;
    --white: #ffffff;
    --black: #000000;
}

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

html, body {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.32px; /* -2% of 16px */
    color: var(--medium);
    overflow-x: hidden;
}

/* Text Styles */
h1, h2, h3, h4 {
    font-family: 'Instrument Sans', sans-serif;
    letter-spacing: -0.02em;
    color: var(--dark);
}

h1.heading-1 {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.2;
}

h2.heading-2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
}

h3.heading-3 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

h4.heading-4 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.32px;
}

.body-bold {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.32px;
}

/* Layout Containers */
.udml-home {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--white);
}

.udml-desktop {
    width: 100%;
    max-width: 1180px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
}

/* Header */
.frame-20 {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.frame-4 {
    width: 161.2px;
    height: 50px;
}

.frame-19 {
    display: flex;
    gap: 24px;
}

.frame-19 a {
    color: var(--blue);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    min-width: 92px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: poInstrument Sans;
    padding: 0;
    z-index: 11;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--blue);
    border-radius: 5px;
    transition: all 0.3s linear;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 10;
    padding-top: 120px;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-menu a {
    color: var(--blue);
    font-family: 'Instrument Sans', sans-serif;
    font-size: 24px;
    text-decoration: none;
}

/* Hero Section */
.frame-6 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

/* Buttons */
.frame-10 {
    display: flex;
	justify-content:center;
    gap: 20px;
    margin-top: 20px;
}

.frame-8 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: var(--black);
    border-radius: 10px;
    text-decoration: none;
}

.figma-logo {
    width: 20px;
    height: 30px;
}

.frame-8 span {
    color: var(--white);
    font-weight: 600;
}

.frame-9 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
	border: 2px solid var(--blue);
}

.frame-9 span {
    color: var(--black);
    font-weight: 600;
}

/* AI Assistants Section */
.frame-36 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 0;
}

.frame-5 {
    width: 100%;
    max-width: 700px;
    height: 40.8px;
    display: flex;
	justify-content: center;
	    align-items: center;
	    gap: 80px;
}

/* Design Example Section */
.frame-23 {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.frame-33, .frame-34, .frame-26 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 380px;
}

.frame-35 {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,.05);
    border-radius: 20px;
    width: 100%;
    padding: 20px 0;
}

.card-image {
    max-width: 304px;
    height: auto;
}

/* UDML Code Example Section */
.frame-24 {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.code-block {
     border-radius: 20px;
     width: 100%;
    overflow: auto;
}

.code-block pre {
    margin: 0;
    font-family: Monaco, monospace;
    font-size: 14px;
    white-space: pre-wrap;
}

/* AI Assistant Result Section */
.frame-27 {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.screenshot-container {
    width: 100%;
    overflow: hidden;
}

.screenshot {
    width: 100%;
    height: auto;
    max-width: 769px;
}

/* Comparison Table */
.table-heading {
    margin-top: 20px;
    /* margin-bottom: 20px; */
	text-align:center;
}

.comparison-table-container {
    width: 100%;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 10px 0;
    text-align: left;
}

.comparison-row {
    border-bottom: 1px solid #e0e0e0;
}

.header-row th {
    font-weight: 600;
    color: var(--dark);
    border-bottom: 1px solid var(--dark);
	
}

.category-row td {
    padding-top: 20px;
}

.category-title {
    font-size: 20px;
    color: var(--dark);
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
}

.col1 {
    width: 200px;
    font-weight: 600;
}

.col2, .col3 {
    width: 470px;
}

/* Tools Section */
.frame-31 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
    margin-top: 40px;
}

.frame-30 {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    max-width: 933px;
}

.frame-16 {
    width: 100%;
    max-width: 769px;
    height: 45px;
    margin: 0 auto;
}

/* Roadmap Section */
.frame-32 {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
    margin-bottom: 60px;
	align-items: center;
}

.frame-15 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.blurb {
    width: 100%;
    max-width: 278px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1.heading-1 {
        font-size: 48px;
    }
    
    h2.heading-2 {
        font-size: 30px;
    }
    
    .frame-15 {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .frame-19 {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .frame-23, .frame-24, .frame-27 {
        flex-direction: column;
        align-items: center;
    }
    
    .frame-33, .frame-34, .frame-26 {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .frame-35, .code-block, .screenshot-container {
        max-width: 100%;
    }
    
    .frame-15 {
        flex-direction: column;
        align-items: center;
    }
    
    .blurb {
        max-width: 100%;
    }
    
    h1.heading-1 {
        font-size: 36px;
    }
    
    h2.heading-2 {
        font-size: 24px;
    }
    
    h3.heading-3 {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .udml-desktop {
        gap: 30px;
    }
    
    .frame-10 {
        flex-direction: row;
        align-items: center;
    }
    
    .frame-20 {
        height: 80px;
    }
    
    .frame-4 {
        width: 120px;
    }
    
    .frame-31 {
        gap: 40px;
    }
    
    h1.heading-1 {
        font-size: 32px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 4px;
        font-size: 14px;
    }
    
    .frame-15 {
        gap: 30px;
    }
    
    
}

/* Animation for mobile menu toggle */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}
