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

body {
    font-family: 'Helvetica Neue', Roboto, sans-serif;
    font-weight: 400; /* Regular for body text */
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    margin: 0;
    transition: background-color 0.3s ease;
}

/* Global link styling */
a {
    color: #FAFAFA;
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: #AAAAAA;
    text-decoration: underline;
}

body.color-mode {
    background-color: #FF9B7D;
}

body.color-mode main,
body.color-mode #home,
body.color-mode .quick-start {
    background-color: #FF9B7D;
}

body.bw-mode,
body.bw-mode main,
body.bw-mode #home,
body.bw-mode .quick-start {
    background-color: #f9f9f9;
}

/* Main content styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: transparent;
}

section {
    margin-bottom: 5rem;
}

#home {
    text-align: center;
    padding: 3rem 3rem 0;
    background-color: #000000;
}

#home h1 {
    font-weight: 600; /* Semi-bold for main header */
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    font-size: 3rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

#home p {
    font-weight: 400;
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #dddddd;
    position: relative;
    z-index: 2;
}

h2 {
    font-weight: 600; /* Semi-bold for section headers */
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

h3 {
    font-weight: 600; /* Semi-bold for subsection headers */
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Feature sections */
#features {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    max-width: 1200px;
}

/* Remove the ::before pseudo-element that was creating the background */
#features::before {
    display: none; /* This effectively removes the background */
}

/* Update feature cards to fill width */
.feature-card {
    padding: 2rem 3rem;
    border-radius: 3px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* For dark mode compatibility */
body.color-mode .feature-card {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 100%
    );
}

body.bw-mode .feature-card {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

body.bw-mode .feature-card h2,
body.bw-mode .feature-card ul li {
    color: white;
}

.feature-card h2 {
    font-weight: 600; /* Semi-bold for feature headers */
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.feature-card ul {
    list-style: none;
    text-align: center;
    padding: 0;
    max-width: 480px; /* Add max-width */
    margin: 0 auto; /* Center the list container */
}

.feature-card ul li {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #dddddd;
    margin-bottom: 1rem;
    text-align: center; /* Ensure list items are centered */
    display: block; /* Make sure items take full width */
}

/* Download section */
#download {
    text-align: center;
    background: #000000;
    padding: 3rem 0;
    margin-top: 5rem;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.quick-start {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 3px;
    padding: 2.5rem;
    margin: 0 auto 4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
    max-width: 1200px; /* Match features section max-width */
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-box {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    padding: 1.5rem;
    border-radius: 3px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-box .step-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    opacity: 0.9;
    fill: #ffffff;
    filter: brightness(0) invert(1);
}

/* Target specifically the film icon */
.step-box img[src*="film.svg"] {
    stroke: #ffffff;
    filter: brightness(0) invert(1);
}

.step-box p {
    font-weight: 400;
    color: #dddddd;
    font-size: 1rem;
    line-height: 1.5;
}

/* Perfect for tags section - also update to match */
.perfect-for {
    max-width: 1200px; /* Match the features section */
    margin-left: auto;
    margin-right: auto;
}

.perfect-for ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem; /* Add padding for mobile */
    max-width: 800px; /* Limit width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.perfect-for ul li {
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #dddddd;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    /* Remove cursor pointer and transitions */
}

/* Remove these hover styles */
.perfect-for ul li:hover {
    background: white; /* Override any hover background changes */
    color: #444; /* Keep text color consistent */
    border-color: rgba(0,0,0,0.15); /* Keep border color consistent */
    transform: none; /* Remove transform effect */
    box-shadow: none; /* Remove shadow effect */
}

/* Replace download button styles with App Store badge styles */
.app-store-badge {
    margin-top: 2rem;
    margin-bottom: 0;
    padding-bottom: 0;
}

.app-store-badge img {
    height: 48px;
    transition: opacity 0.2s ease;
}

.app-store-badge img:hover {
    opacity: 0.85;
}

/* Footer styles */
footer {
    color: #dddddd;
    text-align: center;
    background: #000000;
    margin-top: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    main {
        padding: 2rem 0;
        max-width: none;
    }
    
    #home {
        padding: 3rem 1rem;
        margin: 0;
        width: 100%;
    }
    
    #home p {
        font-size: 1.2rem;
        padding: 0;
        margin: 0 auto 3rem;
    }
    
    #home h1 {
        font-size: 2.5rem;
        letter-spacing: -0.01em;
    }
    
    .film-types {
        padding: 0;
        margin-bottom: 2rem;
    }
    
    #features {
        padding: 0 0.2rem;
    }
    
    #download {
        margin-top: 3rem;
        padding: 2rem 0;
    }
    
    .quick-start {
        margin: 0 1rem 2rem;
    }
    
    .steps-container {
        padding: 0;
    }
    
    .perfect-for ul {
        padding: 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .logo-container {
        padding: 0;
    }
    
    #trevni-logo-animation {
        width: 80%;
        height: 200px;
    }
}

@media (max-width: 968px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .steps-container {
        grid-template-columns: 1fr;
    }
}

/* Hero animation */
.hero-animation {
    max-width: 400px;
    margin: 0 auto 2rem;
}

#camera-animation {
    width: 100%;
    height: 300px;
}

/* Logo animation */
.logo-container {
    width: 100%;
    background-color: #000000;
    padding: 2rem 0;
}

.trevni-logo {
    max-width: 400px;
    margin: 0 auto;
}

/* Logo animation base styles */
#trevni-logo-animation {
    width: 70%;
    height: 180px;
    margin: 0 auto;
}

/* Desktop styles */
@media (min-width: 769px) {
    #trevni-logo-animation {
        width: 100%;
        height: 300px;
    }
}

/* Film type tags */
.film-types {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    margin-bottom: 5rem;
}

.film-type {
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    width: 140px; /* Set fixed width */
    height: 140px; /* Match height to width */
    border-radius: 8px;
    font-size: 0.95rem;
    color: #dddddd;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    padding: 1rem; /* Add some padding for text */
}

.film-type:hover {
    background: rgba(255, 255, 255, 0.15);
}

.film-type.active {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(to bottom, #9F461B, #AF511F);
}

/* Remove or update the color-mode specific active state */
body.color-mode .film-type.active {
    background: linear-gradient(to bottom, #9F461B, #AF511F);
}

/* Update step boxes for B&W mode */
body.bw-mode .step-box {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

body.bw-mode .step-box p {
    color: white;
}

body.bw-mode .step-box .step-icon {
    fill: white;
}

/* Update specifically for the film icon in B&W mode */
body.bw-mode .step-box img[src*="film.svg"] {
    stroke: white;
}

/* Update other icons in B&W mode */
body.bw-mode .step-box img {
    filter: brightness(0) invert(1);
}

/* Adjust container width */
@media (min-width: 992px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }
} 

/* Remove these styles */
.mouse-mask-regions,
.mouse-follower {
    display: none;
}

/* Update quick-start gradient in B&W mode */
body.bw-mode .quick-start {
    background: #f9f9f9;
    box-shadow: none;
}

/* Update download section in B&W mode */
body.bw-mode #download {
    background: #f9f9f9;
}

/* Privacy page typography */
.privacy-typography h1 {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.privacy-typography h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.privacy-typography .lead {
    font-size: 1.2rem;
    font-weight: 400;
}

.privacy-typography p,
.privacy-typography li {
    font-size: 1rem;
    line-height: 1.6;
    color: #dddddd;
}

.privacy-typography section {
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .privacy-typography h1 {
        font-size: 2rem;
    }
    
    .privacy-typography h2 {
        font-size: 1.5rem;
    }
}