* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
}

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

/* Header */
header {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 3px solid #ff4444;
}

header h1 {
    font-size: 3rem;
    color: #ff4444;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.tagline {
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 300;
}

/* Main content */
main {
    flex: 1;
}

/* Hero section */
.hero {
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ff6666;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #ccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.app-store-container {
    margin: 2rem 0;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-button:hover {
    transform: scale(1.05);
}

.app-store-button img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Screenshots section */
.screenshots {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.03);
}

.screenshots h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ff6666;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.screenshot {
    text-align: center;
}

.screenshot img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot img:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 68, 68, 0.4);
}

.screenshot p {
    color: #ccc;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    font-weight: 500;
}

/* Features section */
.features {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
}

.features h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ff6666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 68, 68, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 68, 68, 0.2);
}

.feature h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff6666;
}

.feature p {
    color: #ccc;
    line-height: 1.6;
}

/* Roast levels section */
.roast-levels {
    padding: 4rem 0;
    color: white;
}

.roast-levels h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ff6666;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.level {
    background: linear-gradient(135deg, #ff6666 0%, #ff4444 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3);
    transition: transform 0.3s ease;
}

.level:hover {
    transform: translateY(-5px);
}

.level h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.level p {
    color: #ffe6e6;
    font-style: italic;
}

/* Disclaimer section */
.disclaimer {
    padding: 3rem 0;
    background: rgba(255, 68, 68, 0.1);
    border: 2px solid rgba(255, 68, 68, 0.3);
    margin: 2rem 0;
}

.disclaimer h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #ff6666;
}

.disclaimer p {
    font-size: 1.1rem;
    text-align: center;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem 0;
    text-align: center;
    color: #ccc;
    border-top: 2px solid #ff4444;
}

footer nav a {
    color: #ff6666;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: #ff4444;
}

/* Terms page specific styles */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    color: white;
}

.terms-content h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ff6666;
}

.terms-section {
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #ff6666;
}

.terms-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff6666;
}

.terms-section p,
.terms-section li {
    color: #ccc;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.terms-section ul {
    padding-left: 2rem;
}

.last-updated {
    text-align: center;
    margin: 3rem 0;
    padding: 1rem;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 5px;
}

.last-updated p {
    color: #ff6666;
    font-weight: bold;
}

.back-to-home {
    text-align: center;
    margin: 3rem 0;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6666 0%, #ff4444 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .features h3,
    .roast-levels h3 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .levels-grid,
    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot img {
        max-width: 250px;
    }
}

/* Navigation */
nav {
    margin-top: 1rem;
}

nav a {
    color: #ccc;
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

/* Privacy Policy specific styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 68, 68, 0.2);
    color: #ccc;
}

.data-table th {
    background: rgba(255, 68, 68, 0.2);
    color: #ff6666;
    font-weight: bold;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.highlight-box {
    background: rgba(255, 68, 68, 0.1);
    border: 2px solid rgba(255, 68, 68, 0.3);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.highlight-box h3 {
    color: #ff6666;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-box p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer links */
.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #ff6666;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff4444;
}