* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1a1a1a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    padding: 20px;
    position: relative;  /* For absolute positioning of nav */
}

nav {
    background: #252525;
    padding: 20px;
    border-radius: 8px;
    margin: 0 auto 20px;
    width: 300px;  /* Fixed width for sidebar */
    height: fit-content;
    position: fixed;  /* Fixed to viewport */
    top: 20px;
}

    nav ul {
        list-style: none;
    }
    
    nav li {
        margin: 10px 0;
    }


.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    font-size: 2.5em;
    margin: 40px 0 30px;
    color: #3498DB;
    text-align: center;
}

h2 {
    font-size: 1.8em;
    margin: 40px 0 20px;
    color: #767E87;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    text-align: center;
}

h3 {
    font-size: 1.3em;
    margin: 40px 0 15px;
    color: #3498DB;
}


a {
    color: #3498DB;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #767E87;
}

.status-bar {
    background: #252525;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.status {
    display: inline-block;
    background: #2d5016;
    color: #90ee90;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: bold;
    margin: 10px 0;
}

.contact-info {
    background: #252525;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.pricing-box {
    background: #252525;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.pricing-item {
    margin: 15px 0;
    padding: 10px;
    border-left: 3px solid #6b9bd1;
    padding-left: 15px;
}

.highlight {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.note {
    font-size: 0.9em;
    color: #aaa;
    font-style: italic;
}

.terms-list {
    background: #252525;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.terms-list ul {
    list-style: none;
    padding-left: 0;
}

.terms-list li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.terms-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6b9bd1;
    font-weight: bold;
}

.flow-step {
    background: #2a2a2a;
    padding: 10px 15px;
    margin: 8px 0;
    border-radius: 4px;
    border-left: 3px solid #6b9bd1;
}

.back-link {
    display: inline-block;
    margin: 20px 0;
    padding: 8px 16px;
    background: #333;
    border-radius: 4px;
}

code {
    background: #2a2a2a;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

.discount-badge {
    display: inline-block;
    background: #3498DB;
    color: #131c52;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin: 5px 0;
}

section {
    margin: 60px 0;
}

footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #666;
}

        .samples-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
        }
        
        .video-container {
            /* This makes each video take up 50% on a row with two, 
               but allows the 3rd to fill the row or stay 50% */
            flex: 1 1 calc(50% - 15px); 
            
            /* Modern way: Browser will ignore the 'unknown' warning and just work */
            aspect-ratio: 16 / 9; 
            
            background: #000;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }
        
        .video-container iframe {
            /* Since we aren't using the padding-hack, 
               we don't need absolute positioning anymore */
            width: 100%;
            height: 100%;
            border: none;
            display: block;
            object-fit: cover; /* This forces consistent sizing */
        }
                
                .video-container-small {
            width: calc(50% - 0px);
            height: 225px;
            background: #000;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .video-container-small iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
            object-fit: cover; /* This forces consistent sizing */
        }
        

        .image-widget {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }
        .image-widget img {
            width: 100%;
            border-radius: 8px;
            border: 1px solid #444;
        }
        .calculator-container {
            width: 100%;
            margin-top: 20px;
            min-height: 300px; 
        }
        .calculator-iframe {
            width: 100%;
            border: none;
            overflow: hidden;
            transition: height 0.3s ease;
        }
        
        /* Layout for the Works Playlist Look */
.works-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

      .main-video {
          flex: 2; /* Takes up more space */
      }
      
      /* Container styling */
      .video-sidebar {
          background: #121212;
          border: 1px solid #333;
          border-radius: 8px;
          overflow: hidden;
      }
      
      /* Individual Video Item */
      .sidebar-item {
          display: flex;
          align-items: center;
          gap: 12px;
          padding: 12px;
          text-decoration: none;
          border-bottom: 1px solid #222;
          transition: background 0.3s ease;
      }
      
      .sidebar-item:hover {
          background: #1f1f1f;
      }
      
      /* Thumbnail with hover zoom effect */
      .thumb-wrapper {
          width: 100px;
          height: 56px;
          overflow: hidden;
          border-radius: 4px;
          flex-shrink: 0;
      }
      
      .sidebar-item img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: transform 0.3s ease;
      }
      
      .sidebar-item:hover img {
          transform: scale(1.1);
      }
      
      /* Text Info */
      .video-info {
          display: flex;
          flex-direction: column;
      }
      
      .video-title {
          color: #efefef;
          font-size: 0.85rem;
          font-weight: 500;
          line-height: 1.3;
          margin-bottom: 4px;
      }
      
      .video-date {
          color: #888;
          font-size: 0.7rem;
          text-transform: uppercase;
      }

.symbol {
    color: #FFD700; /* This is a standard Gold/Yellow */
    font-weight: bold; /* Optional: makes the symbols pop more */
}


/*Mobile fix */
@media (max-width: 600px) { 
    .video-container, .video-container-small {
        flex: 1 1 100%;
        height: auto; 
        padding-bottom: 0; 
    }

    nav {
        position: relative; /* Removes it from 'floating' over content */
        width: 100%;        /* Takes up the full width of the screen */
        top: 0;             /* Resets the top gap */
        margin-bottom: 20px;
        padding: 15px;
    }

    nav ul {
        display: flex;      /* Makes the links go side-by-side */
        flex-direction: column; /* Stack them for better legibility on tiny screens */
        gap: 5px;
    }

    nav li {
        margin: 5px 0;
        text-align: center; /* Centers the links for easier tapping */
    }

    body {
        padding: 10px;      /* Reduces body padding so content isn't too squished */
    }
}

/* PC/Desktop Layout Adjustment */
@media (min-width: 601px) {
    nav {
        left: 20px; /* Keeps the nav aligned with the body padding */
    }

    .container {
        /* Push the content 300px (nav width) + 40px (gap) from the left */
        margin-left: calc(340px + 20%);
        margin-right: auto;
        max-width: 800px; /* Adjusted to prevent content from being too wide */
    }
}