* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    max-width: 100vw; /* Trava a largura máxima na largura exata da tela */
    overflow-x: hidden; /* Esconde e corta qualquer coisa que passe para o lado */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-image: linear-gradient(to right, #000000, #737373);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #8A2BE2;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5em;
    overflow-wrap: break-word;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8A2BE2;
}

h5 {
    font-size: 1.15rem;
    font-weight: 500;
    color: #23baea;
}

p {
    font-size: 1rem;
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 24px;
    overflow-wrap: break-word;
}

.section-description-text {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.section-container {
    width: 100%;
    padding: 60px 0;
}

.full-width-bg {
    background-color: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(177, 177, 177, 0.1);
    border-bottom: 1px solid rgba(177, 177, 177, 0.1);
}

.main-content-wrapper {
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.button-primary {
    background-color: #8120d09e;
}

.button-primary:hover {
    background-color: #8220d0;
}

.cta-button {
    padding: 10px 20px;
    background-color: #8A2BE2;
    border-radius: 8px;
    font-weight: 600;
}

.cta-button:hover {
    background-color: #8220d0;
    color: #ffffff;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 16px;
    background-image: linear-gradient(to right, #000000, #737373);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(177, 177, 177, 0.1);
} 

.logo-Athonconnect-nav {
    height: 50px;
}

.menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .fa-times {
    display: none;
}

.menu-toggle.active .fa-bars {
    display: none;
}

.menu-toggle.active .fa-times {
    display: block;
}

.menu-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.7);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: left 0.4s ease-in-out;
    z-index: 1000;
    padding-top: 80px;
    box-sizing: border-box;
}

.menu-nav.active {
    left: 0;
}

.menu-nav ul {
    list-style: none;
    text-align: center;
}

.menu-nav li {
    margin: 16px 0;
}

.menu-nav a {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 16px 0;
}

.header-cta {
    display: none;
}

.hero-section {
    padding-top: calc(70px + 40px);
    padding-bottom: 60px;
}

.hero-section .main-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.right-content {
    order: 1;
}

.left-content {
    order: 2;
}

.logo-Athonconnect {
    max-width: 250px;
    margin: 0 auto 24px auto;
}

.main-title {
    font-size: 2.25rem;
}

.main-subtitle {
    font-size: 1.125rem;
    max-width: 42rem;
}

.buttons-group {
    display: flex;
    justify-content: center;
}

.buttons-group .button {
    width: 100%;
    max-width: 300px;
}

.iphone-mockup {
    width: 280px;
    height: 570px;
    background-color: #1c1c1e;
    border: 10px solid #1c1c1e;
    border-radius: 50px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background-image: url('images/background_iphone.png');
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 8px 8px;
}

.dynamic-island-container {
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 16px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.dynamic-island {
    width: 80px;
    height: 20px;
    background-color: #000000;
    border-radius: 9999px;
    z-index: 20;
}

.iphone-lock-screen-ui {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    color: #ffffff;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    font-size: 0.75rem;
    font-weight: 500;
}

.time-date-display {
    text-align: center;
    margin: 16px 0;
}

.time-text {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.date-text {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 4px;
    text-transform: capitalize;
}

.notifications-area {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.notifications-area::-webkit-scrollbar {
    display: none;
}

.notification-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 8px;
}

.notification-item, .initially-hidden {
    background-color: rgba(28, 28, 30, 0.75);
    border-radius: 8px;
    padding: 5px;
    transition: background-color 0.2s ease-in-out;
}

.initially-hidden {
    display: none;
}

.notification-item {
    animation: fadeInNotification 0.4s ease-out forwards;
    opacity: 0;
}

.notification-item:hover {
    background-color: rgba(45, 45, 48, 0.85);
}

.notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 1px;
    font-size: 0.75rem;
}

.app-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 4px;
}

.icon-push {
    padding: 1px;
    background-color: #ef4444;
    fill: #ffffff;
}

.app-name {
    font-weight: 600;
    flex-grow: 1;
}

.notification-timestamp {
    color: #9ca3af;
}

.notification-body {
    line-height: 1.3;
}

.notification-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2px;
    text-align: left;
}

.notification-text {
    font-size: 0.75rem;
    color: #cbd5e0;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: left;
}

.iphone-footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 16px 8px;
    margin: 5px 5px 25px;
}

.action-button {
    width: 32px;
    height: 32px;
    background-color: rgba(55, 65, 81, 0.7);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
}

.action-icon {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

@keyframes fadeInNotification {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notifications-area > .notification-link:nth-child(2) > .notification-item {
    animation-delay: 0.1s;
}

.notifications-area > .notification-link:nth-child(3) > .notification-item {
    animation-delay: 0.2s;
}

.notifications-area > .notification-link:nth-child(4) > .notification-item {
    animation-delay: 0.3s;
}

.pillar-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.pillar-card {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #3a3a3a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.pillar-card .card-icon {
    font-size: 2.5em;
    color: #23baea;
    margin-bottom: 24px;
}

.pillar-card ul {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.pillar-card ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #cbd5e0;
}

.pillar-card ul li .fa-check-circle {
    color: #be73ed;
    margin-right: 10px;
    font-size: 1.1em;
    flex-shrink: 0;
    margin-top: 2px;
}

.carousel-container-new {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 4rem auto;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    background-color: #2a2a2a;
    padding-left: 40px;
    padding-right: 40px;
}

.carousel-track-new {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide-new {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0.5rem 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.carousel-slide-new::-webkit-scrollbar {
    display: none;
}

.carousel-slide-new h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.carousel-slide-new p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.carousel-button-new {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(138, 43, 226, 0.8);
    color: #E0E1DD;
    border: none;
    padding: 0.2rem 0.4rem;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-button-new:hover {
    background-color: #8220d0;
    transform: translateY(-50%) scale(1.05);
}

.carousel-button-new.prev {
    left: 0.5rem;
}

.carousel-button-new.next {
    right: 0.5rem;
}

.carousel-dots-new {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.carousel-dot-new {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot-new.active {
    background-color: #8A2BE2;
}

.source {
    font-size: 0.6rem;
    color: #cbd5e0;
    margin-top: 0.5rem;
}

.highlight-text {
    color: #8A2BE2;
    font-weight: 700;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: rgba(28, 28, 30, 0.75);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.active {
    background-color: rgba(45, 45, 48, 0.95);
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    word-break: break-word;
    overflow-wrap: break-word;
    flex-grow: 1;
    padding-right: 10px;
}

.faq-question:hover {
    color: #8A2BE2;
}

.faq-item.active .faq-question {
    color: #8A2BE2;
}

.faq-question i {
    font-size: 1em;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq-answer p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 20px 24px;
}

.faq-cta {
    display: block;
    width: fit-content;
    margin: 40px auto 0 auto;
}

.footer-section {
    padding: 60px 0;
    border-top: 1px solid rgba(177, 177, 177, 0.1);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.logo-Athonconnect-footer {
    max-width: 250px;
}

.footer-description {
    max-width: 600px;
    font-size: 1rem;
}

.footer-cta {
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    font-size: 1.8rem;
    color: #cbd5e0;
}

.social-links a:hover {
    color: #8A2BE2;
}

.copyright {
    font-size: 0.875rem;
    color: #cbd5e0;
    margin-top: 16px;
}

.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .button:active,
    .pillar-card:active,
    .faq-question:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}

@media (min-width: 768px) {
    .main-content-wrapper {
        padding: 0 40px;
    }
    .menu-header {
        padding: 8px 40px;
        align-items: center;
    }
    .logo-Athonconnect-nav {
        height: 60px;
    }
    .menu-toggle {
        display: none;
    }
    .menu-nav {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        flex-direction: row;
        transition: none;
        padding-top: 0;
        -webkit-backdrop-filter: none;
    }
    .menu-nav ul {
        display: flex;
        flex-direction: row;
        gap: 32px;
    }
    .menu-nav li {
        margin: 0;
    }
    .menu-nav a {
        font-size: 1rem;
        font-weight: 500;
    }
    .header-cta {
        display: block;
    }
    .hero-section {
        padding-top: calc(80px + 60px);
    }
    .hero-section .main-content-wrapper {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 60px;
    }
    .left-content {
        order: 1;
        flex: 1;
        align-items: flex-start;
    }
    .right-content {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }
    .logo-Athonconnect {
        margin-left: 0;
    }
    .main-title, .main-subtitle {
        text-align: left;
    }
    .buttons-group {
        justify-content: flex-start;
    }
    .buttons-group .button {
        width: auto;
    }
    h2.section-title {
        font-size: 2.25rem;
    }
    .pillar-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .carousel-container-new {
        padding-left: 0;
        padding-right: 0;
    }
    .carousel-slide-new {
        padding: 2rem;
        max-height: none;
        overflow-y: visible;
    }
    .carousel-slide-new h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    .carousel-slide-new p {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    .carousel-button-new {
        padding: 0.75rem 1rem;
        font-size: 2rem;
    }
    .carousel-button-new.prev {
        left: 1rem;
    }
    .carousel-button-new.next {
        right: 1rem;
    }
    .carousel-dots-new {
        margin-top: 1.5rem;
        gap: 0.75rem;
    }
    .carousel-dot-new {
        width: 10px;
        height: 10px;
    }
    .source {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
    .faq-question {
        padding: 20px 25px;
        font-size: 1.1rem;
    }
    .faq-answer p {
        font-size: 1rem;
    }
    .faq-item.active .faq-answer {
        max-height: 200px;
        padding: 0 25px 24px 25px;
    }
}

@media (min-width: 1024px) {
    h1, .main-title {
        font-size: 3.25rem;
    }
    h2.section-title {
        font-size: 2.75rem;
    }
    p, .main-subtitle {
        font-size: 1.125rem;
    }
    .iphone-mockup {
        width: 320px;
        height: 650px;
        transform: rotate(5deg);
        transition: transform 0.3s ease;
    }
    .iphone-mockup:hover {
        transform: rotate(0deg) scale(1.02);
    }
    .faq-question {
        font-size: 1.25rem;
    }
    .faq-answer p {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    .carousel-container-new {
        padding-left: 0;
        padding-right: 0;
        margin: 2rem 10px; 
    }
    
    .carousel-slide-new {
        padding: 20px 45px; 
        max-height: none; 
        overflow-y: visible; 
    }
    
    .carousel-slide-new h3 {
        font-size: 1.25rem;
    }
    
    .carousel-slide-new p {
        font-size: 0.95rem;
    }

    .carousel-button-new {
        width: 36px;
        height: 36px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .carousel-button-new.prev {
        left: 4px;
    }
    
    .carousel-button-new.next {
        right: 4px;
    }
}