* {
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}



.oleo-script {
  
  font-family: "Oleo Script", serif;
  font-weight: 400;
  font-style: normal;
}


body, html {
  overflow-x: hidden; /* Prevent horizontal overflow */
  margin: 0;
  padding: 0;
  width: 100%; /* Ensure body and html take full width */
  font-family: "EB Garamond", serif;
  background-color: rgb(255, 255, 255);
}

.header-container {
  display: flex;
  justify-content: space-between; /* Space between logo and login button */
  align-items: center;
  position: fixed;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 56px;
  background-color: rgba(243, 243, 243, 0.8);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  font-size: 18px;
}

.nav-item1 {
  margin-right: 0; /* Remove margin-right from individual items */
}

.center-links {
  font-size: 20px;
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 25px; /* Add gap between items */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}


.nav-link1 {
  text-decoration: none;
  color: rgb(59, 59, 59);
  font-weight: bold;
  transition: color 0.3s;
  font-weight: normal; /* Remove bold text */
  font-size: 20px; /* Adjust font size */
  padding: 10px 15px; /* Add padding for better spacing */
  display: flex;
  align-items: center; /* Center align vertically */
}


.nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
/* Remove underline for all links and set default color */
.nav-link {
  text-decoration: none;
  color: rgb(59, 59, 59);
  font-weight: bold;
  transition: color 0.3s;
}

/* Add gap between list items */
nav ul li {
  margin-right: 40px;
}

nav ul li:last-child {
  margin-right: 0;
}

/* Navigation styles */
/* Navigation styles */
.nav-container {
  display: flex;
  align-items: center;
}
.nav-logo {
  height: 55px; /* Increased from 45px */
  width: auto;
  display: flex;
  align-items: center;
  margin-left: 20px;
  margin-top: 2px;
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}



/* Specific buttons for "Login" and "Dashboard" */
.nav-item.login .nav-link {
  font-weight: normal; /* Remove bold text */
  font-size: 20px; /* Adjust font size */
  padding: 10px 15px; /* Add padding for better spacing */
  display: flex;
  align-items: center; /* Center align vertically */
}
/* Style "Get Started" as a button - Remove arrow spacing */
.nav-link.button {
  color: #fff;
  background-color: #120923;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Remove the arrow icon margin since we're removing the icon */
.nav-link.button i {
  display: none; /* Hide the arrow icon */
}

/* Hover effect for the button */
.nav-link.button:hover {
  background-color: #120923; /* Darker shade on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Increased shadow on hover */
}



.nav-item.dashboard .nav-link {
  background-color: #120923; /* Teal color for dashboard */
  font-size: 20px; /* Increase text size */
  padding: 10px; /* Add padding to the text from all sides */
}
.nav-link .fa-right-to-bracket {
  margin-left: 0px; /* Adjust the space as needed */
}

.nav-item {
  margin: 0; /* Remove margin */
}

.nav-item + .nav-item {
  margin-left: 10px; /* Add a small gap between adjacent nav items */
}



/* Blank11 Styling */
.blank11 {
  height: 150px;
  background: linear-gradient(to bottom, #ec5803, white);
}
/* Content container styles */
.content-container {
  padding: 40px;
  margin-top: 80px; /* Adjust based on header height */
}

/* Main content styles */
.main-content {
  margin-left: 40px;
  width: 100%;
}


/* Remove flex properties from content-wrapper */
.content-wrapper {
  margin-bottom: 90px;
}


/* Main heading styles */
.main-heading {
  font-size: 80px;
  margin-bottom: 10px; /* Reduced margin to fit subtext */
  line-height: 1.4;
  text-align: center;
  margin-top: -20px; /* Adjusted to move the heading slightly up */
}

.sub-text {
  font-size: 20px; /* Adjusted font size for better visibility */
  line-height: 1.6;
  color: rgba(18, 9, 35, 0.7); /* Slightly reduced opacity */
  text-align: center;
  margin: 0 auto 30px; /* Centered and added spacing below */
  max-width: 600px; /* Limit width for better readability */
}



/* ...existing code... */

/* ===== DEMO VIDEO SECTION - CLEAN & MINIMAL ===== */
.demo-video-section {
    padding: 100px 20px;
    background: #ffffff;
    position: relative;
}

.demo-video-container {
    max-width: 1100px;
    margin: 0 auto;
}

.demo-video-header {
    text-align: center;
    margin-bottom: 50px;
}

.demo-video-header h2 {
    font-size: 48px;
    color: var(--brand-color);
    margin-bottom: 16px;
    font-weight: 700;
}

.demo-video-subtitle {
    font-size: 20px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.video-wrapper {
    margin-bottom: 40px;
}

/* Clean video container - matching YouLearn.ai style */
.clean-video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(18, 9, 35, 0.12),
        0 0 0 1px rgba(18, 9, 35, 0.05);
    background: #000;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.clean-video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Minimal play button overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    pointer-events: auto;
    padding: 0;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button svg circle {
    transition: fill 0.3s ease;
}

.play-button:hover svg circle {
    fill: rgba(18, 9, 35, 0.95);
}

/* When video is playing, hide all controls for clean look */
.clean-video-container.playing video {
    cursor: default;
}

/* Demo CTA */
.demo-cta {
    text-align: center;
    margin-top: 40px;
}

.demo-cta .primary-button {
    font-size: 18px;
    padding: 16px 40px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.demo-cta .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(18, 9, 35, 0.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .demo-video-section {
        padding: 60px 20px;
    }
    
    .demo-video-header h2 {
        font-size: 36px;
    }
    
    .demo-video-subtitle {
        font-size: 18px;
    }
    
    .clean-video-container {
        border-radius: 12px;
    }
    
    .play-button svg {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .demo-video-header h2 {
        font-size: 28px;
    }
    
    .demo-video-subtitle {
        font-size: 16px;
    }
    
    .play-button svg {
        width: 50px;
        height: 50px;
    }
}

/* ...existing code... */

/* Quick Demo Button styles */
.quick-demo-button {
  font-family: 'EB Garamond', serif;
  font-size: 36px;
  width: 270px;
  height: 50px;
  padding: 0 20px; /* Adjust padding to only apply horizontally */
  background-color: #120923;
  color: white;
  border: none;
  border-radius: 10px; /* Rounded corners */
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  text-align: center;
  line-height: 50px; /* Match line height to button height for vertical centering */
  margin-bottom: 40px;
  display: block; /* Make the button a block element */
  margin-left: auto; /* Center align horizontally */
  margin-right: auto; /* Center align horizontally */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add initial shadow */
  margin-top: 50px; /* Increased margin to create space below subtext */
}


.quick-demo-button:hover {
  background-color: #210f41;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Increase shadow on hover */
}


.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 40px 0;
}

.demo-image-wrapper {
  position: relative;
  display: inline-block;
}

.demo-image {
  margin-top: 50px;
  height: 50px;
  width: auto;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.demo-image-wrapper::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background: linear-gradient(45deg, rgba(165, 191, 237, 0.4), rgba(195, 212, 225, 0.4));
  filter: blur(15px);
}

.demo-image-wrapper:nth-child(2)::before {
  background: linear-gradient(45deg, rgba(109, 147, 209, 0.4), rgba(219, 223, 225, 0.4));
}

.demo-image-wrapper:hover::before {
  filter: blur(20px);
  width: 130px;
  height: 130px;
}

.demo-image:hover {
  transform: scale(1.1);
}

/* Highlight styles */
.highlight {
  color: #b8ac40;
  text-decoration: underline rgb(5, 5, 5);
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.highlight:hover {
  text-shadow: 0 0 10px rgba(77, 74, 74, 0.2); /* Highlight with shadow on hover */
  transform: translateY(-2px); /* Slightly move the element */
}




/* Styles for the .demo1 section on hover */
.demo1:hover {
 
  z-index: 3; /* Even higher z-index on hover */
}

/* Form container styles */
.form-container {
  flex: 1;
  margin: 20px auto; /* Center horizontally and add margin */
  border: 2px solid rgb(231, 231, 231);
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add box shadow */
  background-color: rgba(255, 255, 255, 0.2); /* Light greenish background with reduced opacity */
  max-width: 800px; /* Set a max width */
  text-align: center; /* Center text inside the container */
}

.form-container:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Enhance box shadow on hover */
}

.submit-button1{
  font-size: 18px;
  font-weight: 600;
  width: 200px;
  height: 50px;
  padding: 10px 20px;
  background-color: rgb(59, 59, 59);
  color: white;
  border: none;
  border-radius: 10px; /* Rounded corners */
  cursor: pointer;
  transition: all 0.3s ease; /* Smooth transition for hover effects */

}

.submit-button1:hover {
  background-color: black;
  color: white;
  box-shadow: 0 0 10px rgba(180, 190, 34, 0.2); /* Highlight border with shadow */
  transform: translateY(-2px); /* Slightly move the button */
  opacity: 1;
  visibility: visible;
}

/* Input section and output section styles */
.input-section {
  margin: 20px 0;
  width: 100%;
}

.input-field {
  height: 55px;
  width: 90%;
  border-radius: 12px;
  padding: 15px; /* Increased padding for height */
  margin: 0; /* Remove margin */
  border: 1px solid #8d8d8d;
  resize: vertical; /* Make input fields expandable only vertically */
  overflow: auto;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}


.input-field:hover {
  border-radius: 30px; /* Rounded corners on hover */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Highlight border with shadow */
  transform: translateY(-2px); /* Slightly move the input field */
}

.input-field1 {
  height: 95px;
  width: 90%;
  border-radius: 12px;
  padding: 15px; /* Increased padding for height */
  margin: 0; /* Remove margin */
  border: 1px solid #8d8d8d;
  resize: vertical; /* Make input fields expandable only vertically */
  overflow: auto;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}


.input-field1:hover {
  border-radius: 30px; /* Rounded corners on hover */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Highlight border with shadow */
  transform: translateY(-2px); /* Slightly move the input field */
}



.input-section h2{
  font-size: 20px;
  font-weight: 700;
  color: black;
  margin-bottom: 20px;
  text-align: left;

}



/* ===== REVAMPED OUTPUT SECTION ===== */

/* Output Buttons - Modern Tab Design */
.output-buttons {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
  margin-top: 30px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  gap: 4px;
}

.output-buttons button {
  background: transparent;
  border: none;
  color: #6c757d;
  padding: 12px 24px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex: 1;
  justify-content: center;
  min-height: 44px;
}

.output-buttons button:hover {
  color: #495057;
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.output-buttons button.active {
  background: #fff;
  color: #120923;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.output-buttons button.active::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #120923, #2a1c4a);
  border-radius: 2px;
}

/* Cover Container - Modern Card Design */
.cover {
  border-radius: 16px;
  margin-top: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  background: #fff;
  border: 1px solid #e9ecef;
  min-height: 420px;
  position: relative;
}

/* Updated Output Field - Modern Content Area */
.output-field {
  font-family: 'Inter', 'EB Garamond', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #2d3748;
  position: relative;
  padding: 32px;
  background: #fff;
  min-height: 420px;
  height: auto;
  text-align: left;
  overflow-y: auto;
  outline: none;
  border: none;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.output-field::-webkit-scrollbar {
  width: 6px;
}

.output-field::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 3px;
}

.output-field::-webkit-scrollbar-thumb {
  background: #c1c8cd;
  border-radius: 3px;
}

.output-field::-webkit-scrollbar-thumb:hover {
  background: #a8b2ba;
}

/* Enhanced Placeholder Styling - Remove emoji */
.output-field[contenteditable=true]:empty:before {
  content: 'Your analysis will appear here...';
  color: #a0aec0;
  font-style: italic;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0.8;
}

/* Chat Section - Complete Redesign */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 420px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: linear-gradient(to bottom, #fafbfc, #fff);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 3px;
}

.chat-message {
  max-width: 85%;
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  word-wrap: break-word;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user {
  background: linear-gradient(135deg, #120923, #2a1c4a);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 6px;
}

.chat-message.ai {
  background: #f8f9fa;
  color: #2d3748;
  border: 1px solid #e9ecef;
  margin-right: auto;
  border-bottom-left-radius: 6px;
}

.chat-message.error {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #feb2b2;
  margin-right: auto;
  border-bottom-left-radius: 6px;
}

/* Empty Chat State - Enhanced Design */
.empty-chat-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 20px;
  text-align: center;
}

.empty-chat-state i {
  font-size: 56px;
  margin-bottom: 24px;
  color: #120923;
  opacity: 0.8;
}

.empty-chat-state h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #2d3748;
  font-weight: 600;
}

.empty-chat-state p {
  color: #718096;
  margin-bottom: 32px;
  font-size: 16px;
  max-width: 400px;
}

.demo-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 500px;
}

.demo-prompt {
  padding: 10px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.demo-prompt:hover {
  border-color: #120923;
  color: #120923;
  background: #f7fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(18, 9, 35, 0.1);
}

/* Chat Input Container - Modern Design */
.chat-input-container {
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid #e9ecef;
  gap: 12px;
}

.chat-input {
  flex: 1;
  min-height: 44px;
  max-height: 120px;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'Inter', 'EB Garamond', sans-serif;
  resize: none;
  outline: none;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.chat-input:focus {
  border-color: #120923;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(18, 9, 35, 0.1);
}

.send-chat {
  min-width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #120923, #2a1c4a);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.send-chat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 9, 35, 0.3);
}

.send-chat:active {
  transform: translateY(0);
}

.flashcards-placeholder,
.quiz-placeholder,
.output-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 60px 40px;
  text-align: center;
  color: #718096;
  font-size: 18px;
  font-weight: 500;
}


.flashcard-container {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.flashcard-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 5px;
  width: 100%;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 3px;
  margin-right: 15px;
  overflow: hidden;
  position: relative;
}

.progress-bar .progress {
  height: 100%;
  background-color: #120923;
  transition: width 0.3s ease;
  border-radius: 3px;
}

.flashcard-counter {
  font-size: 14px;
  font-weight: 600;
  color: #120923;
  white-space: nowrap;
  min-width: 60px;
}

.flashcard {
  flex: 1;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #e0e0e0;
  max-height: 300px;
  min-height: 250px;
}

.flashcard-content {
  width: 100%;
  height: 100%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

.flashcard-front, .flashcard-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.flashcard-back {
  opacity: 0;
  visibility: hidden;
}

.flashcard.flipped .flashcard-front {
  opacity: 0;
  visibility: hidden;
}

.flashcard.flipped .flashcard-back {
  opacity: 1;
  visibility: visible;
}

.flashcard-text {
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-height: calc(100% - 60px);
  overflow-y: auto;
}

.flashcard-content h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: #2d3748;
  font-weight: 600;
}

.show-answer-btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #120923;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.show-answer-btn:hover {
  background-color: rgba(18, 9, 35, 0.8);
  transform: translateX(-50%) translateY(-2px);
}

.flashcard-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
  margin-top: auto;
  width: 100%;
  gap: 10px;
}

.flashcard-btn {
  background: #120923;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 140px;
  justify-content: center;
}

.flashcard-btn:hover {
  background-color: rgba(18, 9, 35, 0.8);
  transform: translateY(-2px);
}

.flashcard-btn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
}

/* Mobile responsive styles for flashcards */
@media (max-width: 768px) {
  .flashcard-container {
    padding: 12px;
  }
  
  .flashcard {
    min-height: 280px;
    max-height: 350px;
  }
  
  .flashcard-content {
    padding: 20px;
  }
  
  .flashcard-text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .flashcard-container {
    padding: 8px;
  }
  
  .flashcard {
    min-height: 220px;
    max-height: 270px;
  }
  
  .flashcard-content {
    padding: 12px;
  }
  
  .flashcard-btn {
    padding: 8px 12px;
    font-size: 12px;
    max-width: 100px;
  }
  
  .flashcard-counter {
    font-size: 12px;
    min-width: 50px;
  }
}

.flashcards-placeholder::before,
.quiz-placeholder::before,
.output-placeholder::before {
  content: '📚';
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
  opacity: 0.6;
}

.quiz-placeholder::before {
  content: '❓';
}

.output-placeholder::before {
  content: '📄';
}

/* Progress Indicator - Enhanced Design */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  margin: 16px 0;
  font-weight: 600;
  color: #495057;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Circular Progress Indicator */
.circular-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.circular-progress .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e9ecef;
  border-top: 4px solid #120923;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.circular-progress span {
  font-size: 16px;
  font-weight: 500;
  color: #495057;
  text-align: center;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Progress Indicator Container */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

/* CTA Buttons in Hero Section */
.cta-buttons-hero {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cta-buttons-hero .cta-button {
  flex: 0 0 auto;
  min-width: 160px;
}

.cta-buttons-hero .primary-button {
  background: linear-gradient(135deg, #120923 0%, #2a1c4a 100%);
  color: white;
  border: 2px solid transparent;
}

.cta-buttons-hero .secondary-button {
  background: transparent;
  color: #120923;
  border: 2px solid #120923;
}

.cta-buttons-hero .secondary-button:hover {
  background: rgba(18, 9, 35, 0.1);
  transform: translateY(-3px);
}

/* Responsive adjustments for hero CTA buttons */
@media (max-width: 768px) {
  .cta-buttons-hero {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .cta-buttons-hero .cta-button {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .cta-buttons-hero {
    gap: 12px;
  }
  
  .cta-buttons-hero .cta-button {
    max-width: 250px;
    font-size: 16px;
    padding: 14px 24px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .output-buttons {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
  }
  
  .output-buttons button {
    padding: 10px 16px;
    font-size: 13px;
    min-height: 40px;
  }
  
  .cover {
    margin-top: 12px;
    border-radius: 12px;
    min-height: 380px;
  }
  
  .output-field {
    padding: 20px;
    min-height: 380px;
    font-size: 15px;
    line-height: 1.6;
  }
  
  .chat-container {
    height: 380px;
  }
  
  .chat-messages {
    padding: 16px;
    gap: 12px;
    min-height: 260px;
  }
  
  .chat-message {
    max-width: 90%;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .chat-input-container {
    padding: 16px;
    gap: 10px;
  }
  
  .chat-input {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 14px;
  }
  
  .send-chat {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
  }
  
  .empty-chat-state {
    padding: 30px 16px;
  }
  
  .empty-chat-state i {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .empty-chat-state h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .demo-prompts {
    gap: 8px;
  }
  
  .demo-prompt {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .output-buttons {
    flex-direction: column;
    gap: 4px;
  }
  
  .output-buttons button {
    width: 100%;
    justify-content: center;
  }
  
  .cover {
    min-height: 340px;
  }
  
  .output-field {
    padding: 16px;
    min-height: 340px;
    font-size: 14px;
  }
  
  .chat-container {
    height: 340px;
  }
  
  .chat-messages {
    padding: 12px;
    min-height: 220px;
  }
  
  .chat-message {
    padding: 10px 14px;
    font-size: 13px;
    max-width: 95%;
  }
  
  .empty-chat-state h2 {
    font-size: 18px;
  }
  
  .demo-prompts {
    flex-direction: column;
    align-items: center;
  }
  
  .demo-prompt {
    width: 100%;
    max-width: 280px;
  }
}

/* Tablet styles */
@media (max-width: 768px) {
  .header-container {
    height: 50px;
    padding: 0 15px;
  }

  .nav-logo {
    height: 48px; /* Increased from 40px */
  }

  .center-links {
    display: none; /* Hide navigation links */
  }

  .nav-link.button {
    font-size: 16px; /* Reduced from 18px */
    padding: 6px 12px;
  }

  .nav-item.login {
    display: none; /* Hide login button */
  }

  .content-container {
    padding: 20px;
    margin-top: 100px;
  }

  .main-heading {
    font-size: 48px;
    margin-top: -10px; /* Adjusted for tablet view */
  }

  .sub-text {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px; /* Adjusted spacing for tablet */
  }

  .quick-demo-button {
    font-size: 18px;
    width: 100%;
    max-width: 300px;
    height: 50px;
    margin: 20px auto;
    padding: 0 20px;
    margin-top: 40px; /* Add gap from the top */
  }

  .description {
    font-size: 20px;
    text-align: left;
    margin-top: 30px;
    margin-left: -20px; /* Reduced negative margin */

  }

  .form-container {
    width: 90%;
    padding: 10px;
  }

  .submit-button1 {
    font-size: 20px;
    width: 60%;
    height: 40px;
  }

  .format-toggle-button {
    font-size: 11px;
    padding: 10px 10px;
  }

  .input-field {
    height: 45px;
    padding: 10px;
    width: 95%; /* Increased width for better UX */
  }

  .input-field1 {
    height: 95px;
    padding: 15px;
    width: 95%; /* Increased width for better UX */
  }

  .submit-button1 {
    font-size: 18px; /* Increased font size */
    width: 200px; /* Increased width */
    height: 50px; /* Increased height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .cover {
    width: 96%; /* Increased width to leverage full screen */
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Ensure buttons stay inside */
  }

  .output-field {
    min-height: 200px;
    width: 100%;
  }

  .output-buttons {
    width: 100%;
    justify-content: space-between;
    padding: 0 5px; /* Small padding to keep buttons inside */
    box-sizing: border-box;
    flex-wrap: nowrap; /* Prevent wrapping */
  }

  .output-buttons button {
    font-size: 15px;
    padding: 8px 12px;
    flex: 1;
    margin: 0 2px;
    min-width: 0; /* Allow buttons to shrink */
    white-space: nowrap;
  }

  /* ...existing code... */
}

/* Mobile styles */
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .header-container {
    height: 45px;
    padding: 0 10px;
  }

  .nav-logo {
    height: 42px; /* Increased from 35px */
    margin-left: 0px;
  }

  .nav-link.button {
    font-size: 14px; /* Reduced from 16px */
    padding: 5px 10px;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
  }

  /* Specific buttons for "Login" and "Dashboard" */
  .nav-item.login {
    font-size: 5px; /* Increase text size */
  }


  .content-container {
    padding: 0px;
    margin-top: 120px;
  }
  .main-heading {
    font-size: 44px;
    margin-top: -5px; /* Adjusted for mobile view */
  }

  .sub-text {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 15px; /* Adjusted spacing for mobile */
  }

  .quick-demo-button {
    font-size: 20px;
    width: 900vh;
    max-width: 250px;
    height: 45px;
    padding: 0 15px;
    margin-right: 200px;
    margin-top: 40px; /* Add gap from the top */
}
.image-container{
  margin-right: 100px;

}

.pp1{
  margin-right: 100px;

}

  .description {
    font-size: 16px;
  }

  .main-heading1 {
    font-size: 26px;
    padding: 0 10px; /* Add some padding on the sides */
    text-align: center; /* Align text to the left */
    margin-bottom: 15px;
    line-height: 1.5; /* Adjust line height for better spacing */
  }

  .toggle-option{
    font-size: 14px;
  }

  .form-container {
    width: 100%;
    padding: 5px;
  }

  .submit-button1 {
    font-size: 16px;
    width: 150px;
    height: 30px;
  }

  .input-field {
    height: 35px;
    padding: 5px;
  }

  .output-field {
    min-height: 150px;
  }

  .format-toggle-button {
    font-size: 2px;
    padding: 10px 10px;
  }

  /* Button Container */
.button-container1 {
  display: flex;
  justify-content: flex-end; /* Align buttons to the right */
  margin-left: 10px; /* Move all buttons to the right */
}

.modal-title {
  font-size: 18px;
}

.modal-action-button{
  font-size: 13px;
  width: 500px;
  text-align: center;
}


.output-buttons button{
  font-size: 14px;
  padding: 5px 10px;
}

  .toolbar {
    margin-top: 10px;
    width: 100%; /* Full width for mobile phones */
    padding: 5px; /* Adjust padding for mobile phones */
    border-radius: 10px; /* Adjust border radius for mobile phones */
    flex-wrap: wrap; /* Allow wrapping of toolbar items */
  }

  .toolbar button {
    flex: 1 1 auto; /* Allow buttons to grow and shrink */
    margin: 5px; /* Add margin between buttons */
  }

  .url-list li {
    width: 100%;
  }

  .exit-reading-mode {
    font-size: 11px;
  }

  .blue-toggle-button {
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  .features-section h1 {
    font-size: 25px;
  }

  .faq-h2 {
    font-size: 25px;
  }

  details {
    width: 95%;
    padding: 20px 30px 20px 20px;
    font-size: 14px;
  }

  details p {
    font-size: 12px;
  }

  summary:hover {
    transform: none;
  }

  .pricing-section {
    padding: 60px 10px;
  }
  
  .pricing-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .pricing-card {
    width: 100%;
  }
  
  .price {
    font-size: 2rem;
  }
  
  .features-list li {
    font-size: 0.95rem;
  }
  
  .pricing-btn {
    padding: 12px;
    font-size: 1rem;
  }
}

/* Hero Section Redesign */
.hero-section {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 0 0 55%;
  padding-right: 40px;
}

.hero-visual {
  flex: 0 0 40%;
  animation: float 6s ease-in-out infinite;
}

.main-heading {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #120923;
  font-weight: 700;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.sub-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #495057;
  opacity: 0.9;
  max-width: 600px;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
}

.cta-container {
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

.platform-support {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.platform-support:hover {
  transform: perspective(1000px) rotateY(0);
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background-color: rgba(18, 9, 35, 0.02);
  border-left: 2px solid transparent;
}

.platform-item:hover {
  background-color: rgba(18, 9, 35, 0.05);
  transform: translateX(5px);
  border-left: 2px solid #120923;
}

.platform-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.platform-icon.pdf {
  background: linear-gradient(135deg, #291c47 0%, #513b94 100%);
}

.platform-icon.web {
  background: linear-gradient(135deg, #1d1538 0%, #3e2c69 100%);
}

.platform-icon.youtube {
  background: linear-gradient(135deg, #291c47 0%, #513b94 100%);
}

.platform-item span {
  font-size: 1.125rem;
  font-weight: 500;
  color: #2D3748;
}

.hero-shape {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,186.7C672,203,768,181,864,165.3C960,149,1056,139,1152,144C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  z-index: 1;
}

/* CTA Button Styling */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

/* Hide arrow icons in CTA buttons */
.cta-button i {
  display: none;
}

.primary-button {
  background: linear-gradient(135deg, #120923 0%, #2a1c4a 100%);
  color: white;
  border: none;
}

.primary-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.secondary-button {
  background: transparent;
  color: #120923;
  border: 2px solid #120923;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

/* Demo Section Enhancements */
.form-container {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  border-radius: 24px;
  background: white;
  border-top: 4px solid rgba(18, 9, 35, 0.7);
}

.main-heading1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #120923;
}



.signup-button-small {
    display: inline-block;
    background: #ffffff;                 /* changed to white */
    color: #000000 !important;           /* changed to black */
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.18s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); /* lighter shadow for white bg */
    border: 1px solid rgba(18, 9, 35, 0.06);
    cursor: pointer;
}

/* subtle hover for white button */
.signup-button-small:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: #000000 !important;
}
/* Update feature message styles */
#feature-message {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    z-index: 9999;
    font-size: 18px;
    max-width: 350px;
    width: 80%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

#feature-message i {
    font-size: 48px;
    margin-bottom: 15px;
    color: white;
    display: block;
}

#pdf-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    z-index: 2000;
    font-size: 18px;
    max-width: 350px;
    width: 80%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Responsive styles for signup button */
@media (max-width: 768px) {
    #feature-message {
        padding: 20px;
        font-size: 16px;
        max-width: 320px;
        width: 85%;
    }
    
    #feature-message i {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    #pdf-message {
        padding: 20px;
        font-size: 16px;
        max-width: 320px;
        width: 85%;
    }
    
    .signup-button-small {
        font-size: 13px;
        padding: 7px 14px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    #feature-message {
        padding: 18px;
        font-size: 15px;
        max-width: 280px;
        width: 90%;
    }
    
    #feature-message i {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    #pdf-message {
        padding: 18px;
        font-size: 15px;
        max-width: 280px;
        width: 90%;
    }
    
    .signup-button-small {
        font-size: 12px;
        padding: 6px 12px;
        margin-top: 8px;
    }
}



/* Add styles for the toggle options */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.toggle-container {
  margin-bottom: 30px;
}



.toggle-option {
  font-size: 20px;
  padding: 10px 20px;
  border: 2px solid #ccc;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}

.toggle-option:hover {
  border-color: #888;
  transform: translateY(-1.5px);
}

.toggle-option.active {
  background-color: rgb(59, 59, 59);
  color: white;
  border-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow */

}

/* Features Section Enhancements */
.features-wrapper {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.features-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(18, 9, 35, 0.1) 0%, rgba(18, 9, 35, 0.3) 50%, rgba(18, 9, 35, 0.1) 100%);
}

.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.features-section h1 {
  font-size: 2.5rem;
  margin-bottom: 60px;
  text-align: center;
  color: #120923;
  position: relative;
}

.features-section h1::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #120923, #2a1c4a);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.features-section h1 span {
  color: #120923;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border-bottom: 4px solid transparent;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #120923, #2a1c4a);
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.4s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.feature-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(18, 9, 35, 0.1) 0%, rgba(18, 9, 35, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: #120923;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #120923 0%, #2a1c4a 100%);
  color: white;
  transform: rotateY(180deg);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #120923;
  font-weight: 600;
}

.feature-card p {
  color: #495057;
  font-size: 16px;
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: white;
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, rgba(18, 9, 35, 0.1) 0%, rgba(18, 9, 35, 0.3) 50%, rgba(18, 9, 35, 0.1) 100%);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #120923;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #120923, #2a1c4a);
  margin: 15px auto 0;
}

.section-header p {
  font-size: 1.25rem;
  color: #495057;
  max-width: 600px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.process-step {
  flex: 1;
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
  border-bottom: 4px solid transparent;
}

.process-step.animate {
  opacity: 1;
  transform: translateY(0);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid rgba(18, 9, 35, 0.3);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #120923 0%, #2a1c4a 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(18, 9, 35, 0.08) 0%, rgba(18, 9, 35, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #120923;
}

.process-step h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #120923;
  font-weight: 600;
}

.process-step p {
  color: #495057;
  font-size: 16px;
  line-height: 1.6;
}



/* CTA Section - Changed back to original darker color */
.cta-section {
  padding: 100px 0;
  background-color: white;
  text-align: center;
  position: relative;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  background: linear-gradient(135deg, #120923 0%, #2a1c4a 100%); /* Reverted to original solid color */
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  color: white;
  border: none; /* Removed subtle border */
}

/* Remove the pattern overlay */
.cta-content::before {
  content: none; /* Removed the pattern overlay */
}

/* CTA Section */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-buttons .primary-button {
  background: white;
  color: #120923;
  position: relative;
  overflow: hidden;
}

.cta-buttons .primary-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(rgba(255, 255, 255, 0.1), transparent 70%);
  transform: skewX(-15deg);
  opacity: 0;
  transition: opacity 0.3s;
}

.cta-buttons .primary-button:hover::after {
  opacity: 1;
}

.cta-buttons .secondary-button {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.cta-buttons .secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer refinements for better transition */
.site-footer {
  background-color: #f7f7f7;
  color: #444;
  padding: 60px 0 20px;
  font-size: 15px;
  line-height: 1.5;
  border-top: 1px solid rgba(18, 9, 35, 0.1);
}

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

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    flex: 0 0 100%;
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .hero-visual {
    flex: 0 0 100%;
  }

  .sub-text {
    margin-left: auto;
    margin-right: auto;
  }
  
  .platform-support {
    transform: none;
  }
  
  .features-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    flex-direction: column;
  }
  
  .process-step {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 3rem;
  }
  
  .sub-text {
    font-size: 1.1rem;
  }
  
  .features-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-content {
    padding: 40px 20px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

/* Blur effect for PDF mode on mobile/tablet */
.demo-content.blurred {
  filter: blur(5px);
  pointer-events: none;
  opacity: 0.5;
  transition: all 0.3s ease;
  position: relative;
}

/* PDF mode message overlay */
#pdf-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  z-index: 2000; /* Higher z-index to appear above blur */
  font-size: 18px;
  max-width: 400px;
  width: 80%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  pointer-events: auto; /* Allow interaction with the message */
  backdrop-filter: blur(10px);
}

#feature-message {
    position: absolute;
    top: 80%; /* Changed from 50% to 60% to position it 30% lower */
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    z-index: 9999;
    font-size: 18px;
    max-width: 400px;
    width: 80%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

#feature-message i {
    font-size: 48px;
    margin-bottom: 15px;
    color: white; /* Changed from var(--brand-color) to white */
    display: block;
}

#feature-message small {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
    display: block;
}

/* Blur effect for cover container when chat/flashcards/quiz are selected */
.cover.blurred {
    filter: blur(5px);
    pointer-events: none;
    opacity: 0.5;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    #feature-message {
        padding: 25px 20px;
        font-size: 16px;
        max-width: 350px;
        width: 85%;
        top: 80%; /* Make sure this is consistent across breakpoints */
    }
    
    #feature-message i {
        font-size: 40px;
        margin-bottom: 12px;
        color: white; /* Ensure white color on mobile too */
    }
    
    #feature-message small {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #feature-message {
        padding: 20px 15px;
        font-size: 15px;
        max-width: 300px;
        width: 90%;
        top: 80%; /* Consistent positioning */
    }
    
    #feature-message i {
        font-size: 36px;
        margin-bottom: 10px;
        color: white; /* White color for mobile */
    }
    
    #feature-message small {
        font-size: 12px;
    }
}



/* Footer Styles */
.site-footer {
  background-color: #f7f7f7;
  color: #444;
  padding: 60px 0 20px;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 60px;
  border-top: 1px solid #e0e0e0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  color: #120923;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: #120923;
}

.footer-section.about {
  flex: 1.5;
}

.footer-logo {
  height: 60px;
  margin-bottom: 15px;
}

.footer-section.about p {
  margin-bottom: 20px;
  color: #666;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #eeeeee;
  color: #120923;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #120923;
  color: white;
  transform: translateY(-3px);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-section ul a:hover {
  color: #120923;
  transform: translateX(5px);
}

.footer-section.contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #666;
}

.footer-section.contact i {
  margin-right: 10px;
  color: #120923;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
  max-width: 100%;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  outline: none;
  font-size: 14px;
}

.newsletter-form button {
  background-color: #120923;
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #1d103a;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: #777;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #777;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #120923;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-sections {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-section {
    width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  
  .footer-section h3 {
    font-size: 16px;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Hero Section - Mobile and Tablet specific adjustments */
@media (max-width: 1024px) {
  .hero-section {
    padding: 56px 0 60px; /* Top padding = header height */
    margin-top: -56px; /* Negative margin = header height */
    padding-top: 76px; /* 56px (header) + 20px (breathing room) */
  }
}

/* More specific for tablet if needed */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-section {
    padding: 56px 0 60px;
    margin-top: -56px;
    padding-top: 76px;
  }
}

/* More specific for mobile if needed */
@media (max-width: 768px) {
  .hero-section {
    padding: 56px 0 60px;
    margin-top: -56px;
    padding-top: 76px;
  }
}




/* Mobile layout - Increase output section width */
@media (max-width: 768px) {
    .cover {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 12px;
    }
    
    .output-field {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    /* Flashcard container - full width on mobile */
    .flashcard-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    /* Flashcard itself - utilize more width */
    .flashcard {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 20px auto !important;
    }
    
    /* Progress bar and controls - full width */
    .flashcard-progress {
        width: 100% !important;
        margin-bottom: 15px !important;
        padding: 0 5px !important;
    }
    
    .flashcard-controls {
        width: 100% !important;
        margin-top: 15px !important;
        padding: 0 5px !important;
    }
    
    /* Form container adjustments for mobile */
    .form-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
        margin: 20px 0 !important;
        box-sizing: border-box;
    }
    
    /* Input fields - full width */
    .input-field,
    .input-field1 {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Output buttons - better spacing */
    .output-buttons {
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 6px !important;
    }
    
    .output-buttons button {
        flex: 1;
        min-width: 0;
        font-size: 13px !important;
        padding: 10px 8px !important;
    }
}

/* Very small mobile screens */
@media (max-width: 480px) {
    .cover {
        border-radius: 8px;
    }
    
    .output-field {
        padding: 15px !important;
    }
    
    .flashcard-container {
        padding: 10px !important;
    }
    
    .flashcard-content {
        padding: 15px !important;
    }
    
    .flashcard-text {
        font-size: 16px !important;
    }
    
    .form-container {
        padding: 15px !important;
    }
}

/* Updated Pricing Section with more compact design

below is the css for the pricing page 


*/


/* Hide platform support section on mobile and tablet */
@media (max-width: 1024px) {
    .platform-support {
        display: none !important;
    }
}

/* More specific breakpoints if needed */
@media (max-width: 768px) {
    .platform-support {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .platform-support {
        display: none !important;
    }
}
