/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #F5F5F5;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
   
    margin-top: 16px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-svg {
    width: 216px;
    height: 57px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Crimson Text', serif;
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-family: 'DM Sans', sans-serif;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
}

.nav-links a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #4B4B4B;
}

.cta-button {
    font-family: 'DM Sans', sans-serif;
    background: #000000;
    color: #FFFFFF;
    border: none;
    padding: 16px 16px;
    border-radius: 32px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #4B4B4B;
    transform: translateY(-3px) scale(1.02);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.01);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button .apple-icon {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button:hover .apple-icon {
    transform: scale(1.1) rotate(5deg);
}

.apple-icon {
    width: 18px;
    height: 18px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #000000;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0 0 24px 24px;
    padding: 80px 24px 32px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.mobile-nav-links a {
    font-family: 'DM Sans', sans-serif;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 12px 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-links a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #4B4B4B;
}

.mobile-cta-button {
    font-family: 'DM Sans', sans-serif;
    background: #000000;
    color: #FFFFFF;
    border: none;
    padding: 16px 24px;
    border-radius: 32px;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.mobile-cta-button:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    background: #F5F5F5;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.buddy-characters {
    display: flex;
    align-items: center;
    gap: 24px;
    transition: gap 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    padding: 40px;
    border-radius: 50px;
    perspective: 1000px;
}

.buddy-characters:hover {
    gap: 56px;
    transform: rotateX(5deg) rotateY(-5deg) translateZ(20px);
}

.character-circle {
    width: 201px;
    height: 301px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    cursor: pointer;
    padding: 8px;
}

.character-circle:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(5deg) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.character-circle:nth-child(1):hover {
    transform: translateY(-20px) rotateX(8deg) rotateY(8deg) scale(1.05);
}

.character-circle:nth-child(2):hover {
    transform: translateY(-20px) rotateX(12deg) rotateY(-5deg) scale(1.05);
}

.character-circle:nth-child(3):hover {
    transform: translateY(-20px) rotateX(6deg) rotateY(-8deg) scale(1.05);
}

.buddy-characters:hover .character-circle {
    transform: rotateY(10deg) translateZ(10px);
}

.buddy-characters:hover .character-circle:nth-child(1) {
    transform: rotateY(15deg) translateZ(15px);
}

.buddy-characters:hover .character-circle:nth-child(2) {
    transform: rotateY(5deg) translateZ(5px);
}

.buddy-characters:hover .character-circle:nth-child(3) {
    transform: rotateY(-5deg) translateZ(8px);
}

.character-circle:nth-child(1) {
    z-index: 3;
}

.character-circle:nth-child(2) {
    z-index: 2;
}

.character-circle:nth-child(3) {
    z-index: 1;
}

.character-image-container {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.character-circle:hover .character-image-container {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateZ(20px);
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.character-circle:hover .character-image {
    transform: scale(1.05) rotateZ(2deg);
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.hero-title {
    font-family: 'Crimson Text', serif;
    font-size: 84px;
    line-height: 74px;
    text-align: center;
    color: #4B4B4B;
    font-weight: 400;
    letter-spacing: -0.05em;
}

.hero-title strong {
    font-weight: 700;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
    color: #4B4B4B;
    max-width: 800px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 56px;
}

.primary-button {
    font-family: 'DM Sans', sans-serif;
    background: #000000;
    color: #FFFFFF;
    border: none;
    padding: 16px 32px;
    border-radius: 32px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 288px;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.primary-button:hover {
    background: #4B4B4B;
    transform: translateY(-3px) scale(1.02);
}

.primary-button:active {
    transform: translateY(-1px) scale(1.01);
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.primary-button:hover::before {
    width: 300px;
    height: 300px;
}

.primary-button .apple-icon {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.primary-button:hover .apple-icon {
    transform: scale(1.1) rotate(5deg);
}

.secondary-button {
    font-family: 'DM Sans', sans-serif;
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #000000;
    padding: 16px 32px;
    border-radius: 32px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    min-width: 288px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.secondary-button:hover {
    background: #000000;
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.02);
}

.secondary-button:active {
    transform: translateY(-1px) scale(1.01);
}

.secondary-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.secondary-button:hover::before {
    width: 300px;
    height: 300px;
}

/* How it works Section */
.how-it-works {
    background: #393939;
    padding: 80px 0;
}

.how-it-works-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 749px;
}

.section-title {
    font-family: 'Crimson Text', serif;
    font-size: 96px;
    line-height: 101px;
    text-align: center;
    color: #FFFFFF;
    font-weight: 400;
    letter-spacing: -0.05em;
}

.section-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
    color: #7C7C7C;
    font-weight: 400;
}

.download-button {
    font-family: 'DM Sans', sans-serif;
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 20px 40px;
    border-radius: 32px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.download-button:hover {
    background: #f0f0f0;
    transform: translateY(-3px) scale(1.02);
}

.download-button:active {
    transform: translateY(-1px) scale(1.01);
}

.download-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-button:hover::before {
    width: 300px;
    height: 300px;
}

.download-button .apple-icon {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.download-button:hover .apple-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Dark variant for Meet your Buddies section */
.meet-buddies .download-button {
    background: #000000;
    color: #ffffff;
}

.meet-buddies .download-button:hover {
    background: #4B4B4B;
    transform: translateY(-3px) scale(1.02);
}

.meet-buddies .download-button::before {
    background: rgba(255, 255, 255, 0.1);
}

.meet-buddies .download-button:active {
    transform: translateY(-1px) scale(1.01);
}

.phone-mockups {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 56px;
    width: 100%;
    perspective: 1200px;
}

.phone-mockup {
    width: 400px;
    height: 800px;
    background: white;
    border-radius: 40px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.phone-mockup:nth-child(1) {
    transform: rotate(-9deg);
}

.phone-mockup:nth-child(2) {
    transform: rotate(-9deg);
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.phone-header {
    text-align: center;
    padding: 24px 0;
}

.phone-title {
    font-family: 'Crimson Text', serif;
    font-size: 48px;
    font-weight: 400;
    color: #4B4B4B;
    line-height: 48px;
    margin-bottom: 8px;
    letter-spacing: -0.05em;
}

.phone-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    color: #838383;
    line-height: 1.2;
    font-weight: 400;
}

.phone-screen {
    flex: 1;
    background: #655c6f;
    border-radius: 32px;
    border: 11px solid white;
    position: relative;
    overflow: hidden;
}

.game-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #095d1d;
    z-index: 10;
}

.time-display {
    font-family: 'DM Sans', sans-serif;
    font-size: 63px;
    font-weight: 700;
    margin-bottom: 8px;
}

.game-instruction {
    font-family: 'DM Sans', sans-serif;
    font-size: 21px;
    font-weight: 700;
}

/* Meet your Buddies Section */
.meet-buddies {
    background: white;
    padding: 80px 0;
}

.meet-buddies .section-title {
    color: #000000;
}

.meet-buddies-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 71px;
}

.buddy-cards {
    display: flex;
    align-items: center;
    gap: 88px;
    width: 100%;
    justify-content: center;
    perspective: 1000px;
}

.buddy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    cursor: pointer;
}

.buddy-card:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(5deg) scale(1.05);
}

.buddy-card:nth-child(1):hover {
    transform: translateY(-20px) rotateX(8deg) rotateY(8deg) scale(1.05);
}

.buddy-card:nth-child(2):hover {
    transform: translateY(-20px) rotateX(12deg) rotateY(-5deg) scale(1.05);
}

.buddy-card:nth-child(3):hover {
    transform: translateY(-20px) rotateX(6deg) rotateY(-8deg) scale(1.05);
}

.buddy-image-container {
    width: 271px;
    height: 271px;
    border-radius: 68px;
    border: 11px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.buddy-card:hover .buddy-image-container {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateZ(20px);
}

.biscuit-bg {
    background: #efda98;
}

.luna-bg {
    background: #ef98e6;
}

.pebble-bg {
    background: #98efc3;
}

.buddy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.buddy-card:hover .buddy-image {
    transform: scale(1.1) rotateZ(2deg);
}

.buddy-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.buddy-name {
    font-family: 'Crimson Text', serif;
    font-size: 48px;
    font-weight: 400;
    color: #000000;
    line-height: 40px;
    letter-spacing: -0.05em;
}

.buddy-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    color: #7C7C7C;
    text-align: center;
    line-height: 1.2;
    font-weight: 400;
}

/* Footer */
.footer {
    background: #000000;
    padding: 56px 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
}

.copyright-icon {
    font-size: 18px;
    font-weight: 600;
}

/* Page Content Styles */
.page-content {
    background: #F5F5F5;
    padding: 120px 0 80px;
    min-height: 100vh;
}

.page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-header {
    text-align: center;
    margin-bottom: 80px;
}

.page-title {
    font-family: 'Crimson Text', serif;
    font-size: 64px;
    line-height: 70px;
    color: #4B4B4B;
    font-weight: 400;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
}

.page-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    line-height: 1.4;
    color: #7C7C7C;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    background: white;
    border-radius: 24px;
    padding: 64px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.content-section h2 {
    font-family: 'Crimson Text', serif;
    font-size: 36px;
    line-height: 40px;
    color: #000000;
    font-weight: 400;
    letter-spacing: -0.05em;
    margin-bottom: 24px;
    margin-top: 48px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section h3 {
    font-family: 'Crimson Text', serif;
    font-size: 28px;
    line-height: 32px;
    color: #4B4B4B;
    font-weight: 400;
    letter-spacing: -0.05em;
    margin-bottom: 16px;
    margin-top: 32px;
}

.content-section p {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #4B4B4B;
    margin-bottom: 20px;
}

.content-section ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.content-section li {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #4B4B4B;
    margin-bottom: 12px;
}

.content-section a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.content-section a:hover {
    color: #7C7C7C;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    border-radius: 24px;
    padding: 64px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.contact-form h2 {
    font-family: 'Crimson Text', serif;
    font-size: 36px;
    line-height: 40px;
    color: #000000;
    font-weight: 400;
    letter-spacing: -0.05em;
    margin-bottom: 16px;
}

.contact-form p {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #7C7C7C;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #4B4B4B;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn {
    font-family: 'DM Sans', sans-serif;
    padding: 16px 32px;
    border-radius: 32px;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #000000;
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #4B4B4B;
    transform: translateY(-2px) scale(1.02);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 64px;
        line-height: 60px;
    }
    
    .section-title {
        font-size: 72px;
        line-height: 76px;
    }
    
    .phone-mockups {
        flex-direction: column;
        gap: 40px;
    }
    
    .buddy-cards {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Hide desktop navigation and CTA button on mobile */
    .desktop-nav,
    .desktop-cta {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002 !important;
        position: relative;
    }
    
    .mobile-menu-toggle.active {
        z-index: 1002 !important;
    }
    
    /* Adjust header container for mobile */
    .header-container {
        padding: 16px 20px;
    }
    
    /* Mobile menu adjustments */
    .mobile-menu {
        padding: 100px 20px 40px;
    }
    
    .mobile-nav-links a {
        font-size: 20px;
        padding: 16px 0;
    }
    
    .mobile-cta-button {
        font-size: 18px;
        padding: 20px 24px;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 50px;
        padding: 0 20px;
    }
    
    .hero-subtitle {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 16px;
    }
    
    .primary-button,
    .secondary-button {
        min-width: 240px;
    }
    
    .section-title {
        font-size: 56px;
        line-height: 60px;
        padding: 0 20px;
    }
    
    .section-subtitle {
        font-size: 24px;
        padding: 0 20px;
    }
    
    .phone-mockups {
        gap: 24px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .phone-mockup {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 500px;
        transform: none !important;
        perspective: none !important;
        gap: 16px;
        padding: 2px;
        margin: 0 auto;
    }
    
    .phone-mockup:nth-child(1),
    .phone-mockup:nth-child(2) {
        transform: none !important;
    }
    
    .phone-header {
        padding: 16px 0;
    }
    
    .phone-title {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 4px;
    }
    
    .phone-subtitle {
        font-size: 16px;
    }
    
    .how-it-works-content {
        gap: 32px;
    }
    
    .how-it-works {
        padding: 40px 0;
    }
    
    .buddy-image-container {
        width: 200px;
        height: 200px;
    }
    
    .buddy-name {
        font-size: 36px;
    }
    
    .buddy-description {
        font-size: 20px;
    }
    
    .footer-content {
        text-align: center;
    }
    
    /* Mobile adjustments for buddy characters */
    .buddy-characters {
        gap: -20px;
        padding: 10px;
        perspective: none !important;
        transform: none !important;
    }
    
    .buddy-characters:hover {
        gap: 10px;
        transform: none !important;
        perspective: none !important;
    }
    
    /* Completely disable all hover effects on mobile */
    .buddy-characters:hover .character-circle,
    .buddy-characters:hover .character-circle:nth-child(1),
    .buddy-characters:hover .character-circle:nth-child(2),
    .buddy-characters:hover .character-circle:nth-child(3) {
        transform: none !important;
    }
    
    .character-circle {
        width: 150px;
        height: 225px;
        border-radius: 15px;
        transform: none !important;
        transform-style: flat !important;
    }
    
    .character-circle:hover {
        transform: none !important;
    }
    
    .buddy-characters:hover .character-circle {
        transform: none !important;
    }
    
    .buddy-characters:hover .character-circle:nth-child(1),
    .buddy-characters:hover .character-circle:nth-child(2),
    .buddy-characters:hover .character-circle:nth-child(3) {
        transform: none !important;
    }
    
    .character-circle:hover .character-image-container {
        transform: none !important;
    }
    
    .character-circle:hover .character-image {
        transform: none !important;
    }
    
    /* Page content mobile styles */
    .page-title {
        font-size: 48px;
        line-height: 52px;
    }
    
    .page-subtitle {
        font-size: 20px;
    }
    
    .content-section {
        padding: 40px 32px;
    }
    
    .content-section h2 {
        font-size: 28px;
        line-height: 32px;
    }
    
    .content-section h3 {
        font-size: 24px;
        line-height: 28px;
    }
    
    .content-section p,
    .content-section li {
        font-size: 16px;
    }
    
    .contact-form {
        padding: 40px 32px;
    }
    
    .contact-form h2 {
        font-size: 28px;
        line-height: 32px;
    }
}

@media (max-width: 480px) {
    /* Mobile menu for smaller screens */
    .mobile-menu {
        padding: 90px 16px 32px;
    }
    
    .mobile-nav-links a {
        font-size: 18px;
        padding: 14px 0;
    }
    
    .mobile-cta-button {
        font-size: 16px;
        padding: 18px 20px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 40px;
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 42px;
        line-height: 46px;
        padding: 0 16px;
    }
    
    .character-circle {
        width: 120px;
        height: 180px;
        border-radius: 12px;
    }
    
    .buddy-image-container {
        width: 150px;
        height: 150px;
    }
    
    /* Extra small mobile adjustments */
    .buddy-characters {
        gap: -15px;
        padding: 5px;
        perspective: none !important;
        transform: none !important;
    }
    
    .buddy-characters:hover {
        gap: 8px;
        transform: none !important;
    }
    
    .character-circle {
        transform: none !important;
        transform-style: flat !important;
    }
    
    .character-circle:hover {
        transform: none !important;
    }
    
    .buddy-characters:hover .character-circle {
        transform: none !important;
    }
    
    .character-circle:hover .character-image-container {
        transform: none !important;
    }
    
    .character-circle:hover .character-image {
        transform: none !important;
    }
    
    /* Page content extra small mobile styles */
    .page-title {
        font-size: 36px;
        line-height: 40px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .content-section {
        padding: 32px 24px;
    }
    
    .content-section h2 {
        font-size: 24px;
        line-height: 28px;
    }
    
    .content-section h3 {
        font-size: 20px;
        line-height: 24px;
    }
    
    .content-section p,
    .content-section li {
        font-size: 15px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .contact-form h2 {
        font-size: 24px;
        line-height: 28px;
    }
    
    /* Extra mobile optimizations for how it works section */
    .phone-mockups {
        gap: 16px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .phone-mockup {
        max-width: 280px;
        min-height: 450px;
        gap: 12px;
        margin: 0 auto;
    }
    
    .phone-title {
        font-size: 28px;
        line-height: 32px;
    }
    
    .phone-subtitle {
        font-size: 14px;
    }
    
    .how-it-works-content {
        gap: 24px;
    }
    
    .how-it-works {
        padding: 32px 0;
    }
}