/* Oralytiq Website Styles - Modern App Landing Page */
:root {
    --primary-color: #2e98fd;
    --primary-light: #5fb3ff;
    --primary-dark: #1e7dd8;
    --white: #ffffff;
    --black: #000000;
    --gray-50: #fafafa;
    --gray-100: #f5f5f7;
    --gray-200: #e8e8ed;
    --gray-300: #d2d2d7;
    --gray-400: #86868b;
    --gray-600: #424245;
    --gray-900: #1d1d1f;
}

/* Make trademark symbol smaller */
.tm {
    font-size: 0.55em;
    vertical-align: super;
    line-height: 0;
    font-weight: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
}

/* SVG Floaters */
.svg-floater {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    animation: float 15s infinite ease-in-out;
    max-width: 300px;
    overflow: hidden;
    box-sizing: border-box;
    will-change: transform;
}

/* Ensure SVG floaters don't cause overflow */
section {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.svg-floater svg {
    filter: drop-shadow(0 4px 8px rgba(46, 152, 253, 0.2));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-50px) translateX(20px) rotate(8deg);
    }
    50% {
        transform: translateY(-80px) translateX(0) rotate(0deg);
    }
    75% {
        transform: translateY(-50px) translateX(-20px) rotate(-8deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header Styles - Keep existing */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-icon {
    height: 80px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(45%) sepia(93%) saturate(2000%) hue-rotate(195deg) brightness(100%) contrast(100%);
    transition: transform 0.3s ease;
}

.logo-container:hover .logo-icon {
    transform: rotate(-5deg);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 400;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.no-underline::after,
nav ul li a.cta-button::after {
    display: none;
}

/* Submenu */
.has-submenu {
    position: relative;
}

.has-submenu > a i {
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.has-submenu:hover > a i {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    margin: 0;
}

.submenu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--gray-900);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.submenu a:hover {
    background-color: var(--gray-50);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--gray-900);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 22px;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Modern Hero Section */
.hero-modern {
    background-color: var(--white);
    padding: calc(1rem + 80px) 0 4rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-text {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeSlideIn 1s ease-out 0.3s forwards;
    will-change: transform, opacity;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.hero-text .highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-button-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(46, 152, 253, 0.3);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--gray-900);
    padding: 0.875rem 2rem;
    border: 1px solid var(--gray-300);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-secondary:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-400);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-group {
    display: flex;
    margin-right: 0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -10px;
    background-size: cover;
    background-position: center;
}

.avatar:first-child {
    margin-left: 0;
}

.social-proof-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 400;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeSlideIn 1s ease-out 0.6s forwards;
    will-change: transform, opacity;
}

.phone-mockup-pendulum {
    width: 340px;
    height: 560px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
}

.phone-mockup-pendulum img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    animation: pendulum 4s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
    max-width: 100%;
}

@keyframes pendulum {
    0%, 100% {
        transform: rotate(-4deg);
    }
    50% {
        transform: rotate(4deg);
    }
}

/* Parallax Effect */
.parallax-element {
    transition: transform 0.3s ease-out;
}

/* Modern Sections */
.section-modern {
    padding: 6rem 0;
    position: relative;
    background-color: var(--white);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.section-modern.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section-alt-modern {
    background-color: var(--gray-50);
}

.section-alt-modern-2 {
    background-color: #fafafa;
}

.section-alt-modern-3 {
    background-color: #f8f8f8;
}

.how-it-works-inverse {
    background-color: var(--primary-color);
    color: var(--white);
}

.how-it-works-inverse .section-header h2,
.how-it-works-inverse .section-header .section-subtitle {
    color: var(--white);
}

.how-it-works-inverse .section-header .highlight {
    color: var(--white);
    opacity: 0.9;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    margin-top: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-header .highlight {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 400;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.two-column-layout.reverse {
    direction: rtl;
}

.two-column-layout.reverse > * {
    direction: ltr;
}

.two-column-layout-4-8 {
    grid-template-columns: 1fr 2fr;
}

.two-column-layout-4-8 .column-text {
    text-align: left;
}

.two-column-layout-4-8 .column-text .section-header {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.column-text {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.column-image {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.column-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.column-text p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 1rem;
}

.feature-list-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.feature-list-item p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin: 0;
}

.section-image-modern {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: block;
    box-sizing: border-box;
}

/* How It Works Modern */
.how-it-works-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-modern {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.how-it-works-inverse .step-modern {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.how-it-works-inverse .step-modern:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(46, 152, 253, 0.3);
}

.how-it-works-inverse .step-icon {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.step-modern h3,
.step-modern h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.how-it-works-inverse .step-modern h3,
.how-it-works-inverse .step-modern h4 {
    color: var(--white);
}

.step-modern p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.how-it-works-inverse .step-modern p {
    color: rgba(255, 255, 255, 0.9);
}

/* Features Grid Modern */
.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card-icon i {
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 400;
}

/* User Types */
.user-types {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.user-type-item {
    padding: 1rem;
    background-color: var(--white);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
    font-size: 1rem;
    color: var(--gray-600);
}

/* Waitlist Section Modern */
.waitlist-section-modern {
    background-color: var(--gray-50);
    padding: 6rem 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.waitlist-content {
    max-width: 700px;
    margin: 0 auto;
}

.waitlist-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.waitlist-content > p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.waitlist-form-modern {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    flex-wrap: wrap;
}

.waitlist-form-modern input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 400;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.waitlist-form-modern input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(46, 152, 253, 0.1);
}

.waitlist-note {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* FAQ Modern */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--gray-900);
}

.faq-section-modern {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.faq-item-modern {
    background-color: var(--white);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.faq-item-modern:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-question-modern {
    background-color: var(--white);
    padding: 1.5rem 2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.0625rem;
    color: var(--gray-900);
}

.faq-question-modern:hover {
    background-color: var(--gray-50);
}

.faq-question-modern::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question-modern.active::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer-modern {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: var(--gray-50);
}

.faq-answer-modern.active {
    padding: 1.5rem 2rem;
    max-height: 500px;
}

.faq-answer-modern p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Contact Page Layout */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-detail-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.contact-detail-item p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.contact-detail-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--primary-dark);
}

.column-form {
    display: flex;
    flex-direction: column;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.alert {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-900);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 400;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(46, 152, 253, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Policy Page - Keep existing */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 10px 10px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.policy-section {
    margin-bottom: 4rem;
}

.policy-section h2 {
    text-align: left;
    color: var(--gray-900);
    border-bottom: 1px solid var(--gray-300);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.policy-section ol,
.policy-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-section li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Footer - Keep existing */
footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.0625rem;
}

.footer-section p,
.footer-section ul {
    color: #6e6e73;
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #6e6e73;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
    font-size: 0.8125rem;
    color: #6e6e73;
    text-align: center;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6e6e73;
    font-size: 0.8125rem;
}

/* Section Animations */
.section-modern {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.step-modern,
.feature-card,
.feature-item,
.column-text,
.column-image {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-modern.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-modern.visible .column-text,
.section-modern.visible .column-image {
    opacity: 1;
    transform: translateY(0);
}

.step-modern.visible,
.feature-card.visible,
.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bounce Animation for sect2 image */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.bounce-image {
    animation: bounce 3s ease-in-out infinite;
    will-change: transform;
}

/* Bounce animation for about page image */
.about-image-bounce {
    animation: bounce 3s ease-in-out infinite;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(46, 152, 253, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(46, 152, 253, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Stagger animations */
.section-modern.visible .column-text {
    transition-delay: 0.1s;
}

.section-modern.visible .column-image {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .column-form {
        order: -1;
    }

    .how-it-works-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease, visibility 0.3s ease, opacity 0.3s ease;
        z-index: 1000;
        padding: 5rem 2rem 2rem;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
    }

    .main-nav.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--gray-200);
    }

    .main-nav ul li a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .main-nav ul li a.cta-button {
        background-color: transparent;
        color: var(--gray-900);
        padding: 1rem 0;
        border-radius: 0;
        border-bottom: 1px solid var(--gray-200);
        text-align: left;
    }

    .main-nav ul li a.cta-button:hover {
        background-color: var(--gray-50);
        transform: none;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--gray-50);
        margin: 0;
        padding-left: 1rem;
        display: none;
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .has-submenu > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Hide dropdown on mobile for About */
    .has-submenu > a i {
        display: none;
    }

    .hero-text h1 {
        margin-top: 30px;
        font-size: 1.3rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.75rem;
    }

    .hero-actions .cta-button-primary,
    .hero-actions .cta-button-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.875rem;
        white-space: nowrap;
    }

    .section-header h2,
    .faq-header h2 {
        font-size: 2rem;
    }

    .column-text h2 {
        font-size: 2rem;
    }

    .two-column-layout-4-8 .column-text .section-header {
        text-align: center;
    }

    .how-it-works-modern {
        grid-template-columns: 1fr;
    }

    .features-grid-modern {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .waitlist-form-modern {
        flex-direction: column;
    }

    .waitlist-form-modern input {
        min-width: 100%;
    }

    .faq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .phone-mockup-pendulum {
        width: 280px;
        height: auto;
        max-height: 500px;
        padding: 15px;
    }

    .phone-mockup-pendulum img {
        max-width: 100%;
        height: auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image-wrapper {
        justify-content: center;
        margin-top: 2rem;
        padding: 0 1rem;
        overflow: visible;
    }

    body {
        overflow-x: hidden;
    }

    main {
        overflow-x: hidden;
    }

    .section-modern {
        padding: 4rem 0;
    }
}
