 :root {
     /* Colores extraídos de tu icono */
     --primary: #ff3b30;
     /* Rojo pastilla */
     --accent: #34c759;
     /* Verde reloj */
     --dark: #1c1c1e;
     --light: #f2f2f7;
     --text-main: #000000;
     --text-sec: #666666;
     --card-bg: #ffffff;
 }



 body {
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
     margin: 0;
     padding: 0;
     background-color: var(--light);
     color: var(--text-main);
     line-height: 1.6;
 }

 .container {
     max-width: 1000px;
     margin: 0 auto;
     padding: 20px;
 }

 /* HERO SECTION (Cabecera) */
 header {
     padding: 40px 20px;
     text-align: left;
 }

 .header-main {
     display: flex;
     align-items: center;
     gap: 30px;
     margin-bottom: 30px;
 }

 .app-icon {
     width: 140px;
     height: 140px;
     border-radius: 35px;
     /* Bordes redondeados estilo app */
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
     object-fit: cover;
     transition: transform 0.3s ease;
     flex-shrink: 0;
 }

 .app-icon:hover {
     transform: scale(1.05);
 }

 .header-info {
     flex: 1;
 }

 h1 {
     font-size: 2.5rem;
     font-weight: 800;
     margin-bottom: 10px;
     margin-top: 0;
     background: -webkit-linear-gradient(45deg, var(--primary), #ff9f0a);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     line-height: 1.1;
 }

 .subtitle {
     font-size: 1.1rem;
     color: var(--text-sec);
     margin: 0;
     max-width: 100%;
 }

 .header-actions {
     margin-top: 20px;
 }

 /* Responsive for smaller screens */
 @media (max-width: 600px) {
     .header-main {
         flex-direction: column;
         text-align: center;
     }

     header {
         text-align: center;
     }
 }

 .download-btn {
     background-color: var(--primary);
     color: white;
     padding: 15px 40px;
     border-radius: 30px;
     text-decoration: none;
     font-weight: bold;
     font-size: 1.1rem;
     box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4);
     transition: transform 0.2s, box-shadow 0.2s;
     display: inline-block;
 }

 .download-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(255, 59, 48, 0.6);
 }

 /* CAPTURAS DE PANTALLA */
 .screenshots-section {
     padding: 20px 0 50px 0;
     text-align: center;
     width: 100%;
     overflow: hidden;
     /* Prevent horizontal scrollbar on main page if images overflow slightly */
 }

 .section-title {
     font-size: 2rem;
     margin-bottom: 30px;
     font-weight: 700;
 }

 .slider-wrapper {
     position: relative;
     max-width: 1000px;
     margin: 0 auto;
     display: flex;
     align-items: center;
     padding: 0 40px;
 }

 .nav-arrow {
     background: rgba(0, 0, 0, 0.5);
     color: white;
     border: none;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 1.2rem;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background 0.3s, transform 0.2s;
     position: absolute;
     z-index: 10;
 }

 .nav-arrow:hover {
     background: rgba(0, 0, 0, 0.8);
     transform: scale(1.1);
 }

 .left-arrow {
     left: 10px;
 }

 .right-arrow {
     right: 10px;
 }

 .screenshots-container {
     display: flex;
     justify-content: flex-start;
     gap: 15px;
     /* Slight separation */
     flex-wrap: nowrap;
     overflow-x: auto;
     padding: 20px 0;
     -webkit-overflow-scrolling: touch;
     scrollbar-width: none;
     scroll-behavior: smooth;
     width: 100%;
 }

 .screenshots-container::-webkit-scrollbar {
     display: none;
 }

 .app-screenshot {
     width: 180px;
     /* Smaller size */
     height: auto;
     border-radius: 16px;
     transition: transform 0.3s ease;
     cursor: pointer;
     flex-shrink: 0;
     object-fit: cover;
     margin: 0;
 }

 .app-screenshot:hover {
     transform: scale(1.05);
     /* Just scale */
     z-index: 2;
 }

 /* LIGHTBOX MODAL */
 .lightbox {
     display: none;
     position: fixed;
     z-index: 2000;
     left: 0;
     top: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.9);
     backdrop-filter: blur(5px);
     align-items: center;
     justify-content: center;
     animation: fadeIn 0.3s;
 }

 .lightbox-content {
     max-width: 90%;
     max-height: 90vh;
     border-radius: 10px;
     box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
     animation: zoomIn 0.3s;
 }

 .close-lightbox {
     position: absolute;
     top: 20px;
     right: 35px;
     color: #fff;
     font-size: 40px;
     font-weight: bold;
     cursor: pointer;
     transition: 0.3s;
     z-index: 2001;
 }

 .close-lightbox:hover,
 .close-lightbox:focus {
     color: #bbb;
     text-decoration: none;
     cursor: pointer;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 @keyframes zoomIn {
     from {
         transform: scale(0.8);
     }

     to {
         transform: scale(1);
     }
 }

 /* Media query for very small screens to ensure scroll works comfortably */
 @media (max-width: 600px) {
     .screenshots-container {
         justify-content: flex-start;
         /* Start from left on mobile scroll */
     }
 }

 .app-screenshot:hover {
     transform: translateY(-10px);
     z-index: 2;
 }

 @media (max-width: 900px) {
     .screenshots-container {
         flex-wrap: nowrap;
         justify-content: flex-start;
         overflow-x: auto;
         padding: 20px 20px 40px 20px;
         -webkit-overflow-scrolling: touch;
         scroll-snap-type: x mandatory;
     }

     .app-screenshot {
         scroll-snap-align: center;
         flex-shrink: 0;
         width: 240px;
         margin-right: 15px;
     }
 }

 /* CARACTERÍSTICAS */
 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 20px;
     padding: 40px 0;
 }

 .feature-card {
     background: var(--card-bg);
     padding: 30px;
     border-radius: 20px;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
     transition: transform 0.2s;
 }

 .feature-card:hover {
     transform: translateY(-5px);
 }

 .feature-icon {
     font-size: 2rem;
     margin-bottom: 15px;
     display: block;
 }

 h3 {
     margin-top: 0;
 }

 /* CÓMO FUNCIONA */
 .how-it-works {
     background: var(--card-bg);
     border-radius: 20px;
     padding: 40px;
     margin: 40px 0;
 }

 .step {
     margin-bottom: 20px;
     border-left: 4px solid var(--accent);
     padding-left: 20px;
 }

 /* FOOTER */
 footer {
     text-align: center;
     padding: 40px 20px;
     color: var(--text-sec);
     font-size: 0.9rem;
     border-top: 1px solid rgba(0, 0, 0, 0.1);
 }

 .disclaimer {
     font-size: 0.8rem;
     opacity: 0.7;
     margin-top: 20px;
     border: 1px solid var(--text-sec);
     padding: 10px;
     border-radius: 10px;
     display: inline-block;
 }

 /* SECCIÓN DE FEEDBACK */
 .feedback-section {
     padding: 50px 20px;
     background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
     border-radius: 20px;
     margin: 40px 0;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
 }

 .feedback-form {
     max-width: 600px;
     margin: 0 auto;
 }

 .form-group {
     margin-bottom: 20px;
 }

 label {
     display: block;
     margin-bottom: 8px;
     font-weight: 600;
     color: var(--dark);
 }

 input[type="email"],
 textarea {
     width: 100%;
     padding: 15px;
     border: 2px solid #eee;
     border-radius: 12px;
     font-family: inherit;
     font-size: 1rem;
     transition: border-color 0.3s, box-shadow 0.3s;
     box-sizing: border-box;
     /* Asegura que el padding no rompa el ancho */
     background-color: white;
 }

 input[type="email"]:focus,
 textarea:focus {
     border-color: var(--primary);
     outline: none;
     box-shadow: 0 0 0 4px rgba(255, 59, 48, 0.1);
 }

 textarea {
     resize: vertical;
     min-height: 120px;
 }

 .char-count {
     text-align: right;
     font-size: 0.8rem;
     color: var(--text-sec);
     margin-top: 5px;
 }

 .submit-btn {
     background: linear-gradient(45deg, var(--primary), #ff2d55);
     color: white;
     border: none;
     padding: 15px 40px;
     border-radius: 30px;
     font-size: 1.1rem;
     font-weight: bold;
     cursor: pointer;
     width: 100%;
     transition: transform 0.2s, box-shadow 0.2s;
     box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
 }

 .submit-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 25px rgba(255, 59, 48, 0.5);
 }

 .submit-btn:active {
     transform: translateY(0);
 }

 .submit-btn:disabled {
     background: #ccc;
     cursor: not-allowed;
     transform: none;
     box-shadow: none;
 }

 .form-status {
     margin-bottom: 20px;
     padding: 15px;
     border-radius: 10px;
     display: none;
     font-weight: 500;
     text-align: center;
 }

 .form-status.success {
     background-color: rgba(52, 199, 89, 0.1);
     color: var(--accent);
     display: block;
     border: 1px solid rgba(52, 199, 89, 0.2);
 }

 .form-status.error {
     background-color: rgba(255, 59, 48, 0.1);
     color: var(--primary);
     display: block;
     border: 1px solid rgba(255, 59, 48, 0.2);
 }