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

:root {
    --primary-color: #000;
    --secondary-color: #FFF1F2;
    --text-color: #333;
    --text-light: #666;
    --border-radius: 8px;
    --container-padding: 20px;
    --shadow: 4px 4px 0 rgba(0, 0, 0, 1);
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    padding: 0 2rem;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, p {
    margin-bottom: 1rem;
}

h1, h2, h3 {
    color: white;
    font-weight: 900;
    line-height: 0.9;
    text-transform: lowercase;
    text-shadow: 
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black,
        2px 2px 0 black,
        3px 3px 0 black,
        4px 4px 0 black,
        6px 6px 0 black;
}

/* Specific header sizes */
h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Header */
header {
    padding: 1rem 0;
    background: #fff;
    border-bottom: 2px solid var(--primary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary-color);
}

.desktop-nav {
    display: none;
}

.mobile-nav {
    display: flex;
    gap: 0.5rem;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid black;
    border-radius: 10px;
    font-weight: 900;
    text-decoration: none;
    margin-right: 1rem;
    transition: transform 0.2s;
    background: white;
    color: white;
    text-transform: lowercase;
    font-size: 1.2rem;
    box-shadow: 
        2px 2px 0 black,
        4px 4px 0 black;
    text-shadow: 
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black,
        2px 2px 0 black,
        3px 3px 0 black,
        4px 4px 0 black;
}

.button-primary {
    background: white;
    color: white;
}

.button:not(.button-primary) {
    background: white;
    color: white;
}

.button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 
        4px 4px 0 black,
        6px 6px 0 black;
}

/* Remove duplicate text shadow styles */
.button, .button-primary {
    color: white;
}

/* Responsive adjustments for buttons */
@media (max-width: 768px) {
    .button {
        font-size: 1.1rem;
        text-shadow: 
            -1px -1px 0 black,
            1px -1px 0 black,
            -1px 1px 0 black,
            1px 1px 0 black,
            2px 2px 0 black,
            3px 3px 0 black;
    }
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0 2rem;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

.hero-content h1,
.hero-content p {
    text-align: left;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-image {
    margin: 0 -var(--container-padding);
}

/* Cards Section */
.get-started {
    padding: 4rem 0 6rem 0;
}

.get-started .section-header {
    text-align: center;
}

.get-started .section-header h2,
.get-started .section-header p {
    text-align: center;
}

.section-header {
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

.section-header h2,
.section-header p {
    text-align: left;
}

.cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f5f5f5;
}

.card-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.card-content {
    padding: 1.5rem;
    background: white;
}

/* Features Section */
.feature {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #f5f5f5;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    background: white;
}

.feature-image {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.feature-content {
    padding: 2rem;
    background: white;
}

.feature-content h3,
.feature-content p,
.feature-content h4 {
    text-align: left;
}

.bullet-points {
    margin-top: 1.5rem;
    text-align: left;
}

.bullet-point {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.bullet-circle {
    width: 1rem;
    height: 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Reviews Section */
.happy-users {
    padding: 2rem 0;
}

.happy-users h2 {
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

.slider-container {
    margin: 0 -2rem;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.3s;
}

.slide {
    flex: 0 0 100%;
    padding: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    width: 1rem;
    height: 1rem;
    color: var(--primary-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.user-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #f5f5f5;
}

.slider-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* FAQ Section */
.faq {
    padding: 2rem 0;
}

.faq h2 {
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

.accordion {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    text-align: left;
}

.accordion-header {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-content {
    padding: 0 0 1rem;
}

/* FAQ styles - remove bold and shadow effects */
.accordion-header h3 {
    color: var(--text-color);
    font-weight: normal;
    text-shadow: none;
    font-size: 1rem;
    text-transform: none;
    line-height: 1.5;
}

/* Footer */
footer {
    padding: 2rem 0;
    background: #f5f5f5;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Forms */
.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
}

.input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
}

/* Footer specific subscribe form */
.footer-column .subscribe-form {
    max-width: 100%;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 0 4rem;
    }

    .mobile-nav {
        display: none;
    }

    .desktop-nav {
        display: flex;
        gap: 1rem;
    }

    .button {
        width: auto;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }

    .hero-content {
        text-align: left;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-image {
        margin: 0;
    }

    .cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .slide {
        flex: 0 0 33.333%;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer-bottom-links {
        flex-direction: row;
        gap: 2rem;
        margin-top: 0;
    }

    .subscribe-form {
        flex-direction: row;
    }

    /* Footer specific subscribe form should stay column */
    .footer-column .subscribe-form {
        flex-direction: column;
        max-width: 100%;
    }

    .footer-column .input {
        width: 100%;
    }

    .footer-column .button {
        width: 100%;
        margin-right: 0;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }
}

.happy-users h2 {
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

.faq h2 {
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

/* Slider Buttons */
.slider-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    color: var(--primary-color);
    font-size: 0;
    line-height: 0;
}

.slider-button::before {
    display: block;
    font-size: 24px;
    line-height: 1;
}

#prevButton::before {
    content: "←";
}

#nextButton::before {
    content: "→";
}

.slider-button:hover {
    transform: scale(1.2);
    transition: transform 0.2s;
}

/* Bullet Points */
.bullet-point h4,
.bullet-point p {
    text-align: left;
}

/* Feature Content */
.feature-content {
    padding: 1.5rem;
    text-align: center;
}

.feature-content h3,
.feature-content p,
.feature-content h4 {
    text-align: left;
}

/* Ensure all bullet points text aligns left */
.bullet-points {
    margin-top: 1.5rem;
    text-align: left;
}

.bullet-point {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

/* Slider container - adjust negative margins to match new padding */
.slider-container {
    margin: 0 -2rem;
}

@media (min-width: 768px) {
    .slider-container {
        margin: 0 -4rem;
    }
}

/* Tablet Styles (between mobile and desktop) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Container */
    .container {
        padding: 0 3rem;
    }

    /* Typography for tablets */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        max-width: 80%;
    }

    /* Cards Section */
    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Features Section */
    .feature-grid {
        grid-template-columns: 1fr;
    }

    /* Reviews Section */
    .slide {
        flex: 0 0 50%; /* Show 2 slides at a time on tablets */
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    /* Forms */
    .subscribe-form {
        max-width: 80%;
        margin: 0 auto;
    }

    /* Slider container margins */
    .slider-container {
        margin: 0 -3rem;
    }

    .feature-image {
        height: 250px;
    }
    
    .card-image {
        height: 180px;
    }

    /* Footer specific subscribe form should stay column */
    .footer-column .subscribe-form {
        max-width: 100%;
    }
    
    .footer-column .input {
        width: 100%;
    }

    .footer-column .button {
        width: 100%;
        margin-right: 0;
    }
}

/* Update desktop breakpoint to start after tablet */
@media (min-width: 1024px) {
    /* Keep your existing desktop styles */
    .container {
        max-width: 1200px;
        padding: 0 4rem;
    }
    /* ... rest of your desktop styles ... */
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .feature-image {
        height: 200px;
    }
    
    .card-image {
        height: 160px;
    }
}

/* Tablet adjustments */
@media (max-width: 1023px) {
    h1, h2, h3 {
        text-shadow: 
            -1px -1px 0 black,
            1px -1px 0 black,
            -1px 1px 0 black,
            1px 1px 0 black,
            2px 2px 0 black,
            3px 3px 0 black,
            5px 5px 0 black;
    }
}

@media (max-width: 767px) {
    h1, h2, h3 {
        text-shadow: 
            -1px -1px 0 black,
            1px -1px 0 black,
            -1px 1px 0 black,
            1px 1px 0 black,
            2px 2px 0 black,
            4px 4px 0 black;
    }
}

/* Logo/Header Text Styling */
.hero h1 {
    color: black;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.9;
    text-transform: lowercase;
    -webkit-text-stroke: initial; /* Remove previous stroke */
    text-shadow: 
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black,
        2px 2px 0 black,
        3px 3px 0 black,
        4px 4px 0 black,
        6px 6px 0 black;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: black;
    margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

/* Remove any conflicting styles */
.hero h1, .section-header h2, .feature-content h3 {
    color: white; /* Ensure all headers are white */
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 2rem;
    }
}

/* Policy Pages Styles */
.policy-section {
    padding: 4rem 0;
}

.policy-section h1 {
    margin-bottom: 3rem;
    text-align: center;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.policy-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .policy-section {
        padding: 2rem 0;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
    }
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-section h1 {
    margin-bottom: 1rem;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-content p {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    text-transform: lowercase;
}

.contact-form .input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-family: inherit;
}

.contact-form textarea.input {
    resize: vertical;
    min-height: 150px;
}

.contact-form .button {
    align-self: flex-start;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-content {
        padding: 1.5rem;
    }
}

/* Confirmation Message Styles */
.confirmation-message {
    text-align: center;
    padding: 2rem;
}

.checkmark {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease-in-out;
}

.confirmation-message h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.confirmation-message p {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.go-back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.go-back-link:hover {
    background: var(--primary-color);
    color: white;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Make the confirmation message responsive */
@media (max-width: 768px) {
    .confirmation-message {
        padding: 1.5rem;
    }
    
    .checkmark {
        font-size: 3rem;
    }
    
    .confirmation-message h2 {
        font-size: 1.5rem;
    }
}

/* Additional Policy Content Styles */
.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.policy-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* iPhone Frame Styles - Updated without notch */
.iphone-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 1rem auto;
    padding: 20px;
}

.iphone-frame {
    position: relative;
    width: 100%;
    padding-bottom: 200%;
    background: white;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 12px solid #1a1a1a;
}

.screenshot-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

/* Screen Slides - Simplified for JS control */
.screen-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    visibility: hidden;
}

.screen-slide.active {
    opacity: 1;
    z-index: 2;
    visibility: visible;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Screen Captions - Simplified for JS control */
.screen-captions {
    position: relative;
    margin-top: 2rem;
    height: 4rem;
    text-align: center;
    overflow: hidden;
}

.screen-caption {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    color: white;
    font-size: 2rem;
    font-weight: 900;
    text-transform: lowercase;
    margin: 0;
    text-shadow: 
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black,
        2px 2px 0 black,
        3px 3px 0 black,
        4px 4px 0 black;
}

.screen-caption.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .iphone-container {
        max-width: 280px;
        padding: 10px 20px; /* Equal top and bottom padding */
    }
    
    .screen-caption {
        font-size: 1.5rem;
        text-shadow: 
            -1px -1px 0 black,
            1px -1px 0 black,
            -1px 1px 0 black,
            1px 1px 0 black,
            2px 2px 0 black,
            3px 3px 0 black;
    }
}

/* Early Access Section */
.early-access {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
}

.early-access .container {
    padding: 1.5rem 0;
}

.early-access h3 {
    margin-bottom: 2rem;
}

/* Logo Image Styles */
.logo-image {
    height: 37.5px;
    width: auto;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .logo-image {
        height: 30px;
    }
}

/* End of CSS file */