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

:root {
    --primary-color: #6B46C1;
    --secondary-color: #4A1C95;
    --accent-color: #9F7AEA;
    --light-purple: #E9D8FD;
    --dark-purple: #322659;
    --white: #ffffff;
    --text-color: #2D3748;
}

@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-purple);
}

h1, h2, h3, .logo {
    font-family: 'Tan-Nimbus', 'Righteous', cursive;
    letter-spacing: 0.05em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--dark-purple);
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: 'TANKINDRED', Arial, sans-serif;
    text-decoration: none;
    color: var(--light-purple);
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    font-size: 1rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-button:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-purple);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .logo-img {
        height: 60px;
    }

    .navbar .container {
        padding: 0.3rem 15px;
    }
    
    /* Improved mobile responsiveness for hero section */
    .hero {
        padding: 120px 0 50px;
    }
    
    .hero-content {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .subheading {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
    top: -150px;
    right: -150px;
    animation: float 6s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-device {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iphone-mockup {
    margin: 0;
    transform-origin: center center;
}

.hero-content h1 {
    font-family: 'Tan-Nimbus', 'Righteous', cursive;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
    letter-spacing: 0.05em;
}

.hero-content p {
    font-family: 'TANKINDRED', Arial, sans-serif;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    letter-spacing: 0.03em;
}

.hero-content .subheading {
    font-family: 'TANKINDRED', Arial, sans-serif;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.03em;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: center;
    margin-top: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    position: relative;
    background: linear-gradient(45deg, var(--white) 50%, var(--accent-color) 50%);
    background-size: 250% 100%;
    background-position: 0% 50%;
}

.btn-primary:hover {
    background-position: 100% 50%;
    color: var(--white);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(155, 122, 234, 0.35);
}

.btn-secondary {
    background: transparent;
    border: 3px solid var(--white);
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-left: 1.5rem;
    backdrop-filter: blur(5px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover::before {
    left: 0;
}

.btn i {
    margin-right: 8px;
    font-size: 1.1em;
    line-height: 1;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        padding: 14px 24px;
        font-size: 0.85rem;
        min-width: auto;
    }

    .btn-secondary {
        margin-left: 0;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 0 20px;
}

.feature-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-purple) 100%);
    padding: 2.5rem 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-5deg);
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(0deg) scale(1.1);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Tan-Nimbus', 'Righteous', cursive;
}

.feature-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'TANKINDRED', Arial, sans-serif;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    text-align: center;
    background: var(--light-purple);
    position: relative;
    overflow: hidden;
}

/* Decorative Elements for About Section */
.about::before {
    content: '★';
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: 4.5rem;
    color: var(--accent-color);
    opacity: 0.2;
    animation: float 8s ease-in-out infinite;
}

.about::after {
    content: '★';
    position: absolute;
    bottom: 15%;
    right: 15%;
    font-size: 5.5rem;
    color: var(--primary-color);
    opacity: 0.15;
    animation: float 10s ease-in-out infinite reverse;
}

.about .circle-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    opacity: 0.1;
    animation: float 12s ease-in-out infinite;
}

.about .circle-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    bottom: 20%;
    left: 15%;
    opacity: 0.1;
    animation: float 9s ease-in-out infinite reverse;
}

.about .star-1 {
    content: '★';
    position: absolute;
    top: 40%;
    left: 20%;
    font-size: 3.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    animation: float 7s ease-in-out infinite;
}

.about .star-2 {
    content: '★';
    position: absolute;
    bottom: 30%;
    right: 25%;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.15;
    animation: float 11s ease-in-out infinite reverse;
}

.about h2 {
    font-family: 'Tan-Nimbus', 'Righteous', cursive;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.about p {
    font-family: 'TANKINDRED', Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color);
    letter-spacing: 0.02em;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.testimonials h2 {
    font-family: 'Tan-Nimbus', 'Righteous', cursive;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 0 20px;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-purple) 100%);
    padding: 3rem;
    border-radius: 30px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: 'Georgia', serif;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.2);
}

.testimonial-card p {
    font-family: 'TANKINDRED', Arial, sans-serif;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.testimonial-card cite {
    font-family: 'TANKINDRED', Arial, sans-serif;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.cta h2 {
    font-family: 'Tan-Nimbus', 'Righteous', cursive;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.05em;
}

.cta p {
    font-family: 'TANKINDRED', Arial, sans-serif;
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    letter-spacing: 0.02em;
}

/* Footer */
footer {
    background: var(--dark-purple);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

/* Footer Styles */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -10px) rotate(5deg); }
    50% { transform: translate(0, -20px) rotate(0deg); }
    75% { transform: translate(-10px, -10px) rotate(-5deg); }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }
}

/* Section Badges */
.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    animation: fadeInDown 1s ease;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Decorative Shapes */
.hero-shapes .shape,
.section-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    opacity: 0.1;
}

.hero-shapes .shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation: float 8s infinite;
}

.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation: float 10s infinite reverse;
}

.hero-shapes .shape-3 {
    width: 70px;
    height: 70px;
    bottom: 20%;
    left: 20%;
    animation: float 6s infinite;
}

/* Card Hover Effects */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .section-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .hero-shapes .shape,
    .section-shapes .shape {
        display: none;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Section Transitions */
.features::before,
.testimonials::before,
.cta::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom right, transparent 49%, currentColor 50%);
    z-index: 1;
}

/* Lava Lamp Bubbles */
.bubble-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    background: linear-gradient(135deg, var(--accent-color) 20%, var(--primary-color) 80%);
    border-radius: 50%;
    filter: blur(5px);
    opacity: 0.3;
    animation: float-up var(--duration) ease-in infinite;
    --size: 50px;
    width: var(--size);
    height: var(--size);
}

.bubble:nth-child(1) {
    left: 10%;
    --duration: 20s;
    --size: 80px;
    animation-delay: -2s;
}

.bubble:nth-child(2) {
    left: 30%;
    --duration: 25s;
    --size: 100px;
    animation-delay: -8s;
}

.bubble:nth-child(3) {
    left: 50%;
    --duration: 22s;
    --size: 65px;
    animation-delay: -5s;
}

.bubble:nth-child(4) {
    left: 70%;
    --duration: 28s;
    --size: 90px;
    animation-delay: -12s;
}

.bubble:nth-child(5) {
    left: 85%;
    --duration: 24s;
    --size: 70px;
    animation-delay: -7s;
}

.bubble:nth-child(6) {
    left: 20%;
    --duration: 26s;
    --size: 85px;
    animation-delay: -15s;
}

.bubble:nth-child(7) {
    left: 60%;
    --duration: 23s;
    --size: 95px;
    animation-delay: -9s;
}

.bubble:nth-child(8) {
    left: 40%;
    --duration: 27s;
    --size: 75px;
    animation-delay: -4s;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(1);
    }
    50% {
        transform: translateY(50vh) scale(1.5);
    }
    100% {
        transform: translateY(-100px) scale(1);
    }
}

/* Update hero section to accommodate bubbles */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Background Text Effect */
.background-text {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    mix-blend-mode: overlay;
}

.text-line {
    font-family: 'Tan-Nimbus', 'Righteous', cursive;
    font-size: 5.5rem;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 4px rgba(255, 255, 255, 0.4);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transform: none;
    user-select: none;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.2);
    line-height: 1.1;
    width: 120%;
}

.text-line:nth-child(1) { -webkit-text-stroke: 4px rgba(255, 255, 255, 1); }
.text-line:nth-child(2) { -webkit-text-stroke: 4px rgba(255, 255, 255, 0.8); }
.text-line:nth-child(3) { -webkit-text-stroke: 4px rgba(255, 255, 255, 0.6); }
.text-line:nth-child(4) { -webkit-text-stroke: 4px rgba(255, 255, 255, 0.4); }
.text-line:nth-child(5) { -webkit-text-stroke: 4px rgba(255, 255, 255, 0.3); }
.text-line:nth-child(6) { -webkit-text-stroke: 4px rgba(255, 255, 255, 0.2); }

@media (max-width: 768px) {
    .text-line {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        -webkit-text-stroke-width: 2px;
    }
}

/* Add Tan-Nimbus font */
@font-face {
    font-family: 'Tan-Nimbus';
    src: url('../fonts/Tan-Nimbus.otf') format('opentype'),
         url('../fonts/Tan-Nimbus.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Add TANKINDRED font */
@font-face {
    font-family: 'TANKINDRED';
    src: url('../fonts/TANKINDRED-Display.otf') format('opentype'),
         url('../fonts/TANKINDRED-Display.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* iPhone 15 Mockup Styles */
.iphone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.iphone-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 55px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    box-shadow: 
        0 0 0 10px #1a1a1a,
        0 20px 40px rgba(0, 0, 0, 0.4);
    padding: 15px;
    transform: rotateY(-20deg) rotateX(10deg);
    transform-style: preserve-3d;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    border-radius: 45px;
    overflow: hidden;
    position: relative;
    background: #000;
    transform: translateZ(2px);
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 45px;
}

.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 35px;
    background: #000;
    border-radius: 20px;
    z-index: 2;
}

.iphone-button {
    position: absolute;
    width: 3px;
    height: 30px;
    background: #1a1a1a;
    right: -13px;
    border-radius: 2px;
}

.iphone-button.volume-up {
    top: 100px;
}

.iphone-button.volume-down {
    top: 150px;
}

.iphone-button.power {
    top: 120px;
    left: -13px;
}

@media (max-width: 768px) {
    .iphone-mockup {
        width: 220px;
        height: 450px;
        margin-top: 1rem;
        transform: rotateY(0) rotateX(0) !important;
    }
    
    .iphone-frame {
        border-radius: 40px;
        transform: rotateY(0) rotateX(0) !important;
    }
    
    .iphone-screen {
        border-radius: 32px;
    }
    
    .dynamic-island {
        width: 85px;
        height: 25px;
        top: 8px;
    }
    
    /* Text adjustments for mobile */
    .text-line {
        font-size: 1.5rem;
        -webkit-text-stroke-width: 2px;
    }
    
    /* Bubble adjustments for mobile */
    .bubble {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        gap: 0.8rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about p, .cta p {
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .iphone-mockup {
        margin-top: 2rem;
    }
}

/* ... existing code ... */

