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

body {
    font-family: 'Fustat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1E1E1E;
    overflow-x: hidden;
}

body.user-is-tabbing *:focus {
    outline: 2px solid #0389FF;
    outline-offset: 2px;
}

.container {
    width: 100%;
    min-height: 100vh;
    background: white;
}

/* Animation Classes */
.feature-row,
.feature-card,
.step-item,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature-row.animate-in,
.feature-card.animate-in,
.step-item.animate-in,
.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.feature-card:nth-child(2) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.2s;
}

.step-item:nth-child(2) {
    transition-delay: 0.1s;
}

.step-item:nth-child(3) {
    transition-delay: 0.2s;
}

.step-item:nth-child(4) {
    transition-delay: 0.3s;
}

/* Hero Section */
.hero-section {
    width: 100%;
    padding: 25px;
    background: white;
}

.hero-container {
    position: relative;
    width: 100%;
    min-height: 926px;
    background: 
        linear-gradient(to bottom, rgba(241, 125, 96, 0.05) 0%, rgba(241, 125, 96, 0.2) 100%),
        url('images/header-bg.png') center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 28px;
    padding: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(30px);
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 25px 0 0 0;
    margin-bottom: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 200px;
}

.logo-image {
    width: auto;
    height: 50px;
}

.logo-text {
    color: #013388;
    font-size: 39.80px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}

/* Hero Main Content Area */
.hero-main {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 50px;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 726px;
    flex: 1;
    margin-left: 200px;
}

.hero-title {
    font-size: 74px;
    font-weight: 800;
    line-height: 89.47px;
    margin-bottom: 30px;
    color: #1E1E1E;
}

.hero-highlight {
    display: inline-block;
    background: #0389FF;
    color: white;
    font-size: 74px;
    font-weight: 600;
    line-height: 89.47px;
    padding: 10px 30px;
    border-radius: 28px;
    margin-bottom: 40px;
}

.hero-description {
    font-size: 24px;
    font-weight: 400;
    color: #082350;
    margin-bottom: 60px;
    max-width: 614px;
}

.app-badges {
    display: flex;
    align-items: center;
    gap: 9.29px;
}

.app-badges img {
    height: 67px;
    width: 200px;
    object-fit: contain;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
}

.phone-image {
    width: 357px;
    height: auto;
    max-width: 100%;
}

/* Features Section */
.features-section {
    padding: 100px 30px 32px 30px;
    /* max-width: 1440px; */
    margin: 0 auto;
}

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

.section-title {
    color: #1E1E1E;
    font-size: 64px;
    font-family: Fustat;
    font-weight: 800;
    line-height: 64px;
    word-wrap: break-word;
}

.feature-cards-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.feature-card-new {
    flex: 1;
    border-radius: 20px;
    padding: 60px 40px 0px 40px;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.card-blue {
    background: #FAFBFF;
}

.card-pink {
    background: #FFFAFA;
}

.feature-card-content {
    margin-bottom: 40px;
}

.feature-card-visual-risks {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    padding-bottom: 40px;
}

.risk-image {
    max-width: 45%;
    height: auto;
    display: block;
}

.feature-card-visual {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.feature-card-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Records Section */
.records-section {
    padding: 50px 30px 0px 30px;
    /* max-width: 1440px; */
    margin: 0 auto;
}

.records-card {
    background: #FDFFFA;
    border-radius: 20px;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 400px;
}

.records-content {
    flex: 1;
    max-width: 600px;
}

.records-title {
    color: #082350;
    font-size: 38px;
    font-family: Fustat;
    font-weight: 600;
    line-height: 43px;
    word-wrap: break-word;
    margin-bottom: 30px;
}

.records-description {
    color: #687895;
    font-size: 24px;
    font-family: Fustat;
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.6;
}

.records-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
}

.records-image {
    max-width: 80%;
    height: auto;
    display: block;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    max-width: 600px;
}

.feature-title {
    color: #082350;
    font-size: 38px;
    font-family: Fustat;
    font-weight: 600;
    line-height: 43px;
    word-wrap: break-word;
    margin-bottom: 30px;
}

.feature-description {
    color: #687895;
    font-size: 24px;
    font-family: Fustat;
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.5;
}

.feature-visual {
    flex: 1;
    position: relative;
}

/* Health Tracking Cards */
.health-tracking-card {
    background: #FFFCF5;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #FEC84B;
    margin-bottom: 20px;
    max-width: 350px;
}

.warning-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFAEB;
    border-radius: 16px;
    padding: 4px 10px 4px 4px;
    margin-bottom: 12px;
}

.badge-icon {
    width: 8px;
    height: 8px;
    background: #F79009;
    border-radius: 50%;
}

.badge-text {
    color: #B54708;
    font-size: 12px;
    font-weight: 500;
}

.badge-description {
    color: #DC6803;
    font-size: 14px;
    margin: 0;
}

.vitals-card {
    background: #FAFAFA;
    border-radius: 16px;
    padding: 20px;
    max-width: 350px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: black;
    margin-bottom: 16px;
}

.vitals-grid {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.vital-item {
    flex: 1;
    text-align: center;
}

.vital-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vital-icon-bmi {
    background: #DCFCE7;
}

.vital-icon-pulse {
    background: #E5F3FF;
}

.vital-icon-hrv {
    background: #FFE5EF;
}

.vital-value {
    font-size: 14px;
    font-weight: 600;
    color: black;
    margin-bottom: 4px;
}

.vital-label {
    font-size: 12px;
    color: #6B7280;
}

.vital-divider {
    width: 1px;
    height: 52px;
    background: #E4E4E7;
}

.vitals-summary {
    background: #E5F3FF;
    border-radius: 12px;
    padding: 8px;
    text-align: center;
}

.summary-text {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 8px;
}

.check-now-btn {
    background: #007FF0;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.check-now-btn:hover {
    background: #0066CC;
}

/* Family Members */
.family-members {
    margin-top: 40px;
    max-width: 266px;
}

.family-member {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FAFAFA;
    border-radius: 9.12px;
    padding: 12.16px;
    margin-bottom: 6px;
    border: 0.76px solid #FAFAFA;
}

.member-avatar {
    width: 30.40px;
    height: 30.40px;
    border-radius: 50%;
    background: #BDE0FF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar-brian {
    background: #E5F3FF;
}

.member-name {
    font-size: 12.16px;
    font-weight: 500;
    color: black;
}

.member-relation {
    font-size: 10.64px;
    color: #6B7280;
}

/* Health Matrix */
.health-matrix {
    background: #FAFAFA;
    border-radius: 8.60px;
    padding: 17.20px 8.60px;
    max-width: 251.50px;
}

.matrix-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9.31px;
}

.matrix-label {
    flex: 1;
    text-align: center;
    color: #667085;
    font-size: 8.60px;
    font-weight: 400;
}

.matrix-rows {
    border-radius: 5.73px;
    overflow: hidden;
    border: 0.72px solid #F4F4F5;
}

.matrix-row {
    display: flex;
    background: #FDECE8;
    padding-left: 5.73px;
}

.matrix-row:nth-child(2) {
    background: #FCE4DE;
}

.matrix-cell {
    flex: 1;
    padding: 7.17px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.matrix-cell::before {
    content: '';
    width: 11.46px;
    height: 11.46px;
    border-radius: 50%;
    border: 0.72px solid #D1D5DB;
}

.matrix-cell.warning::before {
    background: #F59E0B;
    border-color: #BF6A02;
}

.matrix-cell.critical::before {
    background: #FF383C;
    border-color: #C01313;
}

.matrix-legend {
    display: flex;
    gap: 9.31px;
    margin-top: 9.31px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5.73px;
}

.legend-color {
    width: 5.73px;
    height: 5.73px;
    border-radius: 50%;
}

.legend-color.none {
    border: 0.72px solid #E4E4E7;
}

.legend-color.warning {
    background: #F59E0B;
}

.legend-color.critical {
    background: #FF383C;
}

.legend-label {
    color: #667085;
    font-size: 10.03px;
    font-weight: 400;
}

/* Three Features Section */
.three-features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 40px 32px; 
    margin: 0 auto;
}

.feature-card {
    background: #FAFBFF;
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    min-height: 530px;
}

.feature-card:nth-child(2) {
    background: #FFFAFA;
}

.feature-card:nth-child(3) {
    background: #FDFFFA;
}

.card-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    opacity: 0.6;
}

.decoration-1 {
    background: linear-gradient(224deg, #FF759F 0%, #FF196E 100%);
    top: 80px;
    right: 40px;
    transform: rotate(-15deg);
}

.decoration-2 {
    background: linear-gradient(207deg, #9BF763 0%, #26AB5B 100%);
    top: 80px;
    right: 40px;
    transform: rotate(-30deg);
}

.card-title {
    color: #082350;
    font-size: 38px;
    font-family: Fustat;
    font-weight: 600;
    line-height: 43px;
    word-wrap: break-word;
    margin-bottom: 20px;
    max-width: 280px;
}

.card-description {
    color: #687895;
    font-size: 24px;
    font-family: Fustat;
    font-weight: 500;
    word-wrap: break-word;
    margin-bottom: 30px;
}

.works-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:nth-child(2) .works-image,
.feature-card:nth-child(3) .works-image {
    align-self: center;
    max-width: 80%;
}

/* Medication Tracker */
.medication-tracker {
    background: #FFFCFC;
    border-radius: 13.94px;
    padding: 20px;
}

.time-period-tabs {
    display: flex;
    gap: 5.50px;
    margin-bottom: 20px;
}

.tab {
    background: #F2F4F7;
    border: none;
    border-radius: 10.99px;
    padding: 2.75px 8.24px;
    color: #344054;
    font-size: 9.62px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: #EA542E;
    color: white;
}

.calendar-widget {
    background: #F5FAFF;
    border-radius: 8.24px;
    padding: 10.99px 5.50px;
    margin-bottom: 20px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 5.50px;
}

.nav-arrow {
    width: 10.99px;
    height: 10.99px;
    cursor: pointer;
}

.calendar-days {
    display: flex;
    flex: 1;
    gap: 5.50px;
}

.day {
    flex: 1;
    text-align: center;
}

.day-number {
    background: white;
    border-radius: 4.12px;
    padding: 2.75px 6.87px;
    font-size: 10.99px;
    font-weight: 700;
    color: #181818;
    margin-bottom: 2.75px;
}

.day.active .day-number {
    background: #007FF0;
    color: white;
}

.day-name {
    color: #6B7280;
    font-size: 8.24px;
    font-weight: 400;
}

.day.active .day-name {
    color: white;
}

.medication-list {
    display: flex;
    flex-direction: column;
    gap: 10.99px;
}

.medication-item {
    display: flex;
    align-items: center;
    gap: 10.99px;
    background: #FAFAFA;
    border-radius: 8.24px;
    padding: 5.50px;
    border: 0.69px solid #FAFAFA;
}

.medication-image {
    width: 35.04px;
    height: 35.04px;
    border-radius: 3.26px;
    border: 0.81px solid #EEEEEE;
}

.medication-info {
    flex: 1;
}

.medication-name {
    font-size: 10.99px;
    font-weight: 500;
    color: black;
}

.medication-dosage {
    font-size: 9.62px;
    color: #6B7280;
}

.medication-schedule {
    display: flex;
    align-items: center;
    gap: 2.75px;
    margin-top: 5px;
}

.schedule-time {
    color: #6B7280;
    font-size: 8.24px;
    font-weight: 400;
}

.medication-checkbox {
    width: 13.74px;
    height: 13.74px;
    border: 0.69px solid #D0D5DD;
    border-radius: 4.12px;
    background: white;
}

.medication-checkbox.checked {
    background: #E5F3FF;
    border-color: #007FF0;
    position: relative;
}

.medication-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #007FF0;
    font-size: 8px;
    font-weight: bold;
}

/* Medication Alert */
.medication-alert {
    background: #FCFAFF;
    border-radius: 10.27px;
    padding: 13.70px;
    border: 0.86px solid #D6BBFB;
}

.alert-badge {
    display: flex;
    align-items: center;
    gap: 6.85px;
    background: #F9F5FF;
    border-radius: 13.70px;
    padding: 3.42px 10.27px 3.42px 3.42px;
    margin-bottom: 10.27px;
}

.alert-icon {
    width: 10.27px;
    height: 10.27px;
    background: #9E77ED;
    border-radius: 50%;
}

.alert-text {
    color: #6941C6;
    font-size: 10.27px;
    font-weight: 500;
}

.alert-description {
    color: #7F56D9;
    font-size: 11.98px;
    font-weight: 400;
    line-height: 1.4;
}

/* Appointment Card */
.appointment-card {
    background: white;
    border-radius: 18px;
    padding: 25px 20px;
}

.appointment-title {
    font-size: 16px;
    font-weight: 600;
    color: black;
    margin-bottom: 16px;
}

.appointment-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FAFAFA;
    border-radius: 12px;
    padding: 16px 12px;
    margin-bottom: 16px;
}

.doctor-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.doctor-name {
    font-size: 16px;
    font-weight: 500;
    color: black;
}

.doctor-specialty {
    font-size: 14px;
    color: #6B7280;
}

.appointment-details {
    display: flex;
    gap: 24px;
}

.appointment-date,
.appointment-time {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6B7280;
    font-size: 14px;
}

.date-icon,
.time-icon {
    width: 16px;
    height: 16px;
    background: #6B7280;
}

/* AI Guidance Section */
.ai-guidance-section {
    padding: 100px 30px;
    margin: 0 auto;
}

.ai-cards-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.ai-card {
    flex: 1;
    border-radius: 20px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.ai-card.card-blue {
    background: #FAFBFF;
}

.ai-card.card-pink {
    background: #FFFAFA;
}

.data-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.data-pill {
    padding: 0 20px;
    border-radius: 25px;
    border: 2.66px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px;
    flex: 0 0 auto;
}

.pill-black {
    background: #1E1E1E;
}

.pill-red {
    background: #ED5934;
}

.pill-blue {
    background: #0389FF;
}

.pill-text {
    text-align: center;
    color: white;
    font-size: 18px;
    font-family: Fustat;
    font-weight: 500;
    word-wrap: break-word;
}

.ai-card-image {
    width: 40%;
    max-width: 200px;
    height: auto;
    margin: 20px auto 0 auto;
}

.ai-decoration {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    opacity: 0.6;
}

.decoration-4 {
    background: linear-gradient(224deg, #FF759F 0%, #FF196E 100%);
}

.decoration-5 {
    background: linear-gradient(207deg, #9BF763 0%, #26AB5B 100%);
}

.data-control-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.control-btn {
    border: none;
    border-radius: 24.83px;
    padding: 10px 17.74px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: 2.66px solid white;
}

.control-btn.download {
    background: #1E1E1E;
    color: white;
}

.control-btn.delete {
    background: #0389FF;
    color: white;
}

.control-btn.share {
    background: #ED5934;
    color: white;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* How It Works Section */
.how-it-works-section {
    background: #1E1E1E;
    border-radius: 20px;
    padding: 60px 52px;
    margin: 0 30px;
    position: relative;
}

.section-title-white {
    color: white;
    font-size: 64px;
    font-family: 'Fustat', sans-serif;
    font-weight: 800;
    line-height: 64px;
    word-wrap: break-word;
    text-align: left;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
    margin-bottom: 80px;
}

.step-item {
    color: white;
}

.step-number {
    color: rgba(255, 255, 255, 0.60);
    font-size: 24px;
    font-family: 'Fustat', sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    margin-bottom: 8px;
}

.step-title {
    color: white;
    font-size: 24px;
    font-family: 'Fustat', sans-serif;
    font-weight: 700;
    line-height: 43px;
    word-wrap: break-word;
    margin-bottom: 12px;
}

.step-description {
    color: rgba(255, 255, 255, 0.60);
    font-size: 24px;
    font-family: 'Fustat', sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.4;
}

.app-mockups {
    position: relative;
    height: 430px;
    margin-top: 50px;
    margin-bottom: -200px;
    z-index: 2;
    display: none;
}

.mockup-card {
    position: absolute;
    border-radius: 25px;
    overflow: hidden;
}

.mockup-1 {
    left: 0;
    top: 0;
    width: 400px;
    height: 300px;
    outline: 5px #C7FFDA solid;
    z-index: 1;
}

.mockup-2 {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 560px;
    height: 354px;
    z-index: 3;
}

.mockup-3 {
    right: 0;
    top: 0;
    width: 400px;
    height: 300px;
    border: 5px solid #FFBCF2;
    z-index: 1;
}

.mockup-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    background: #FEFBF9;
    border-radius: 20px;
    margin: 0 30px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: 866px;
}

.cta-image {
    flex: 1;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 866px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-content {
    flex: 1;
    background: #ED5934;
    color: white;
    padding: 100px 60px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    min-height: 866px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-title {
    font-size: 60.62px;
    font-weight: 800;
    line-height: 64.80px;
    margin-bottom: 40px;
    text-align: center;
}

.cta-description {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.4;
}

/* FAQ Section */
.faq-section {
    display: flex;
    gap: 80px;
    padding: 100px 156px;
    /* max-width: 1440px; */
    margin: 0 auto;
    align-items: flex-start;
}

.faq-intro {
    flex: 0 0 429px;
}

.faq-title {
    font-size: 48px;
    font-family: 'SF Pro', sans-serif;
    font-weight: 700;
    line-height: 56px;
    color: #1E1E1E;
    margin-bottom: 64px;
}

.faq-title-highlight {
    color: #0389FF;
}

.email-btn {
    background: #1E1E1E;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.email-btn:hover {
    background: #333;
}

.faq-list {
    flex: 1;
    background: #FFFAFA;
    border-radius: 12px;
    padding: 24px;
}

.faq-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #F3E1AF;
    margin-bottom: 24px;
    cursor: pointer;
}

.faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.faq-question {
    color: #1D1F14;
    font-size: 24px;
    font-family: 'SF Pro', sans-serif;
    font-weight: 510;
    line-height: 32px;
    flex: 1;
    margin-right: 10px;
}

.faq-toggle {
    width: 18px;
    height: 18px;
    background: #005427;
    border-radius: 2px;
    position: relative;
    flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-toggle::before {
    width: 10px;
    height: 2px;
}

.faq-toggle::after {
    width: 2px;
    height: 10px;
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 32px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.footer-link {
    color: #082350;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0389FF;
}

.footer-link:first-child {
    font-weight: 800;
}

.footer-link:not(:first-child) {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-section {
        padding: 20px;
    }
    
    .hero-container {
        padding: 20px;
    }
    
    .hero-content {
        padding: 40px 0 0 50px;
    }
    
    .phone-mockup {
        right: 50px;
    }
    
    .features-section,
    .ai-guidance-section {
        padding: 80px 20px;
    }
    
    .ai-cards-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .three-features-section {
        grid-template-columns: 1fr;
        padding: 80px 20px;
    }
    
    .faq-section {
        padding: 80px 60px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 15px;
    }
    
    .hero-container {
        min-height: auto;
        padding: 20px;
    }
    
    .hero-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-left: 0;
    }
    
    .feature-cards-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .records-section {
        padding: 80px 20px;
    }
    
    .records-card {
        flex-direction: column;
        gap: 40px;
        padding: 40px 30px;
        text-align: center;
    }
    
    .records-content {
        max-width: 100%;
    }
    
    .records-visual {
        align-items: center;
    }
    
    .records-image {
        max-width: 90%;
    }
    
    .phone-mockup {
        margin: 40px 0 0 0;
        text-align: center;
        width: 100%;
        flex: none;
        display: block;
        padding: 0;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .phone-image {
        width: 280px;
        height: auto;
        display: inline-block;
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 1.2;
    }
    
    .hero-highlight {
        font-size: 48px;
        line-height: 1.2;
        padding: 8px 20px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .feature-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-row.reverse {
        flex-direction: column;
    }
    
    .feature-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .feature-description {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 40px;
        line-height: 1.2;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-section {
        flex-direction: column;
        padding: 60px 20px;
        gap: 40px;
    }
    
    .faq-intro {
        flex: none;
    }
    
    .faq-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .cta-section {
        flex-direction: column;
        margin: 60px 20px;
    }
    
    .cta-image {
        margin-left: 0;
    }
    
    .cta-content {
        border-radius: 0 0 20px 20px;
        padding: 60px 30px;
        min-height: auto;
    }
    
    .cta-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .cta-description {
        font-size: 20px;
    }
    
    .app-mockups {
        height: auto;
    }
    
    .mockup-card {
        position: static;
        margin: 20px auto;
        transform: none !important;
        width: 100% !important;
        max-width: 400px;
        height: auto !important;
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 10px;
    }
    
    .hero-container {
        padding: 15px;
    }
    
    .header {
        padding: 15px 0 30px 0;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .logo-image {
        height: 30px;
    }
    
    .hero-content {
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-highlight {
        font-size: 32px;
        padding: 6px 16px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .app-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .features-section,
    .ai-guidance-section,
    .three-features-section,
    .records-section {
        padding: 60px 15px;
    }
    
    .records-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .records-description {
        font-size: 18px;
    }
    
    .feature-title {
        font-size: 24px;
    }
    
    .feature-description {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .data-control-buttons {
        flex-direction: column;
    }
    
    .control-btn {
        width: 100%;
        text-align: center;
    }
}