/* --- style.css for Scope Bloom --- */

/* --- 1. Variables & Base Setup --- */
:root {
    /* Color Palette (Modern & Clean) */
    --color-primary: #4A69E2; /* A modern, accessible blue */
    --color-primary-dark: #3A53B5;
    --color-secondary: #1DE9B6; /* A vibrant teal/mint accent */
    --color-secondary-dark: #17B890;
    --color-text-dark: #343A40;   /* Dark grey for main text */
    --color-text-light: #6C757D;  /* Lighter grey for subtitles */
    --color-background-light: #F8F9FA; /* Very light grey background */
    --color-background-white: #FFFFFF;
    --color-border-light: #E9ECEF; /* Light border/divider */
    --color-error: #DC3545;

    /* Typography */
    --font-primary: 'Poppins', sans-serif; /* Modern sans-serif for headings */
    --font-secondary: 'Inter', sans-serif; /* Clean sans-serif for body text */
    --base-font-size: 16px;
    --line-height-base: 1.7;
    --line-height-heading: 1.3;

    /* Spacing & Sizing */
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem;  /* 8px */
    --spacing-md: 1rem;    /* 16px */
    --spacing-lg: 1.5rem;  /* 24px */
    --spacing-xl: 2.5rem;  /* 40px */
    --spacing-xxl: 4rem;   /* 64px */

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    --container-width: 1140px;
    --container-padding: 1rem;

    /* Transitions */
    --transition-speed: 0.3s;
}

/* Google Font Import (Place this at the very top) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

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

html {
    font-size: var(--base-font-size);
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body {
    font-family: var(--font-secondary);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- 2. Helper & Utility Classes --- */
.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    width: 100%;
}

/* --- 3. Base Element Styling --- */
h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: var(--line-height-heading);
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
}

h1 { font-size: 3rem; }   /* Approx 48px */
h2 { font-size: 2.25rem; } /* Approx 36px */
h3 { font-size: 1.75rem; } /* Approx 28px */
h4 { font-size: 1.25rem; } /* Approx 20px */

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover, a:focus {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
}

ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
}

/* --- 4. Layout Sections --- */

/* (A) Header */
.main-header {
    background-color: var(--color-background-white);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
    position: sticky; /* Make header sticky */
    top: 0;
    z-index: 100; /* Ensure it's above other content */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Adjust as needed */
    vertical-align: middle; /* Align logo nicely */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: var(--spacing-lg);
}

.nav-links a {
    color: var(--color-text-light);
    font-weight: 500;
    text-decoration: none;
    padding: var(--spacing-sm) 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--color-primary);
    text-decoration: none;
}

/* Add underline effect on hover */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed) ease;
}

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


/* (B) Hero Section - UPDATED */
.hero-section {
    /* background-color: var(--color-background-white); */ /* Original */
    background: linear-gradient(145deg, var(--color-primary) 0%, #5c7ae9 100%); /* Gradient like studio-hero */
    color: var(--color-background-white); /* Ensure text contrasts with gradient */
    min-height: 70vh; /* Keep existing or adjust */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-xxl) * 1.5) 0; /* Increased padding like studio-hero */
    text-align: center;
    position: relative; /* For potential pseudo-elements like studio-hero */
    overflow: hidden; /* For potential pseudo-elements */
}
/* Optional: Add subtle background shapes like .studio-hero */
.hero-section::before, .hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}
.hero-section::before { width: 200px; height: 200px; top: -50px; left: -50px; }
.hero-section::after { width: 300px; height: 300px; bottom: -100px; right: -100px; }

.hero-content {
    position: relative; /* Ensure content is above pseudo-elements */
    z-index: 1;
}

.hero-content h1 {
    /* color: var(--color-text-dark); */ /* Original */
    color: var(--color-background-white); /* Changed for contrast */
    margin-bottom: var(--spacing-md);
    font-size: 3.2rem; /* Optional: Match studio hero size */
}

.hero-content .subtitle {
    font-size: 1.2rem; /* Optional: Adjust size */
    /* color: var(--color-text-light); */ /* Original */
    color: rgba(255, 255, 255, 0.9); /* Changed for contrast */
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

/* (Shared) CTA Button Style */
.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-background-white);
    padding: var(--spacing-md) var(--spacing-lg);
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    box-shadow: 0 4px 10px rgba(74, 105, 226, 0.2); /* Subtle shadow */
}

.cta-button:hover, .cta-button:focus {
    background-color: var(--color-primary-dark);
    color: var(--color-background-white);
    text-decoration: none;
    transform: translateY(-2px); /* Slight lift on hover */
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

.cta-button.secondary:hover, .cta-button.secondary:focus {
    background-color: var(--color-primary);
    color: var(--color-background-white);
    border-color: var(--color-primary);
}

/* (C) Services Section - UPDATED .service-item */
.services-section {
    /* padding-top: var(--spacing-xxl); */ /* Now handled by section-padding class */
    /* padding-bottom: var(--spacing-xxl); */
    text-align: center;
}

.services-section h2 { /* Now uses .section-title */
    /* margin-bottom: var(--spacing-xl); */ /* Handled by .section-title */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    text-align: center; /* Center text within the grid cell */
}

.service-item {
    /* --- UPDATED Styles to match app-card --- */
    background-color: var(--color-background-white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg); /* Use larger radius */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06); /* Softer shadow like app-card */
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; /* Match app-card transition */
    border: 1px solid var(--color-border-light); /* Add subtle border like app-card */
    display: flex; /* Use flex for better control */
    flex-direction: column; /* Stack icon, title, text */
    align-items: center; /* Center align content */
}

.service-item:hover {
    transform: translateY(-6px) scale(1.01); /* Match app-card hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    /* Standardize icon area */
    /* background-color: var(--color-primary-light, #eaf0ff); */ /* Example light bg */
    background: linear-gradient(135deg, var(--color-background-light), #ffffff); /* Match app-card icon area */
    color: var(--color-primary);
    width: 70px; /* Example size */
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-lg); /* More space below icon */
    font-size: 2.5rem; /* Adjust icon content size */
    line-height: 1;
    border: 1px solid var(--color-border-light); /* Match app-card */
}

.service-item h3 {
    font-size: 1.3rem; /* Slightly larger title */
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark); /* Ensure dark text color */
}
.service-item p {
    margin-bottom: 0; /* Remove bottom margin on paragraph */
    color: var(--color-text-light); /* Ensure light text color */
    line-height: 1.6; /* Improve readability */
}


/* (D) Featured Project Section - UPDATED Visual */
.featured-project-section {
    background-color: var(--color-background-white);
    /* padding: var(--spacing-xxl) 0; */ /* Handled by section-padding */
}

.featured-project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.featured-text h2 {
    margin-bottom: var(--spacing-md);
}

.featured-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--spacing-lg);
}

.featured-text li {
    padding-left: var(--spacing-lg);
    position: relative;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

.featured-text li::before {
    content: '✓'; /* Checkmark */
    color: var(--color-secondary); /* Use accent color */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
}

.featured-cta {
    margin-top: var(--spacing-xl);
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap */
    gap: var(--spacing-md);
    align-items: center;
}

.featured-visual img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* Adjusted shadow */
    display: block; /* Ensure no extra space below */
    /* --- ADD 3D Tilt Effect --- */
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
    transition: transform 0.4s ease-out;
}
.featured-visual:hover img { /* Apply hover to parent div for easier targeting */
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) scale(1.02); /* Tilt on hover */
}

/* Remove old placeholder styling for .download-buttons */
.download-buttons a {
    /* Remove old placeholder styles if they exist */
    /* border: none; */
    /* padding: 0; */
    /* color: inherit; */
    margin-right: 0; /* Remove specific margin if set previously */
}

.download-buttons a:hover {
    border-color: var(--color-text-light);
    text-decoration: none;
}


.featured-visual img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- ADD Store Button Styles --- */
/* Styles for the container of store buttons */
.store-buttons {
    margin-top: var(--spacing-md); /* Space above buttons */
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center; /* Align items vertically */
    /* justify-content: start; */ /* Align buttons to the start (within featured-cta) */
}
/* Style for the link (<a>) wrapping the badge image */
.store-button {
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    transition: transform var(--transition-speed) ease, opacity 0.2s ease;
    opacity: 0.9;
    line-height: 0; /* Prevent extra space from link */
}
.store-button img {
    height: 45px; /* Control badge height */
    width: auto; /* Maintain aspect ratio */
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15)); /* Subtle shadow */
    vertical-align: middle; /* Align image nicely */
}
.store-button:hover {
    transform: scale(1.05);
    opacity: 1;
    text-decoration: none; /* Remove underline on hover */
}
/* --- End Store Button Styles --- */

/* (F) Contact Section */
.contact-section {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    text-align: center;
}
.contact-section h2 {
    margin-bottom: var(--spacing-md);
}
.contact-info {
    margin-top: var(--spacing-lg);
}
/* Basic Form Styling (Optional) */
.contact-section form {
    max-width: 600px;
    margin: var(--spacing-xl) auto 0;
    text-align: left;
}
.contact-section label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}
.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section textarea {
    width: 100%;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
}
.contact-section textarea {
    min-height: 150px;
    resize: vertical;
}
.contact-section button[type="submit"] {
    width: 100%;
    margin-top: var(--spacing-sm);
}

.section-padding {
    padding-top: var(--spacing-xl); /* Or xxl */
    padding-bottom: var(--spacing-xl); /* Or xxl */
}

h2.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
    color: var(--color-text-dark);
}

hr.section-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--color-border-light), rgba(0, 0, 0, 0));
    margin: var(--spacing-xl) auto; /* Center divider */
    width: 80%; /* Example width */
    max-width: 600px;
}

/* (G) Footer */
.main-footer {
    background-color: var(--color-text-dark);
    color: var(--color-background-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    font-size: 0.9rem;
}

.main-footer a {
    color: var(--color-background-light);
    text-decoration: underline;
}
.main-footer a:hover {
    color: var(--color-secondary);
}

/* --- 5. Responsiveness --- */

@media (max-width: 992px) {
    :root {
        --base-font-size: 15px;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .container {
        --container-width: 960px;
    }
    .featured-project-content {
        grid-template-columns: 1fr; /* Stack on medium screens */
        gap: var(--spacing-xl);
    }
    .featured-visual {
        order: -1; /* Move visual to top */
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .container {
        --container-width: 720px;
    }
     /* Basic Mobile Nav Toggle Placeholder */
    .nav-links {
        /* Hide links by default on smaller screens */
        /* You'll need JS to toggle visibility */
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--color-background-white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: var(--spacing-md);
    }
    .nav-links.active { /* Class added by JS */
        display: flex;
    }
    .nav-links li {
        margin-left: 0;
        margin-bottom: var(--spacing-md);
        text-align: center;
    }
    /* Add a hamburger icon button to the header HTML */
    /* .menu-toggle { display: block; } */

    .hero-section {
        min-height: 50vh;
        padding: var(--spacing-xl) 0;
    }
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
    .services-grid {
        grid-template-columns: 1fr; /* Stack service items */
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .container {
        --container-padding: 0.75rem;
    }
    .cta-button {
        width: 100%; /* Make buttons full width */
        text-align: center;
    }
    .featured-cta {
        flex-direction: column;
        align-items: stretch;
    }
     .download-buttons {
        display: flex;
        justify-content: center;
        gap: var(--spacing-sm);
    }
}
	
	/* --- style.css Additions for Studio/App Pages --- */

/* --- style.css Enhancements V2 for Studio/App Pages --- */

/* --- General Enhancements --- */
.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.section-padding-large {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}

/* Subtle background pattern */
body {
    /* background-color: var(--color-background-white); */ /* Option: Pure White */
    background-color: var(--color-background-light); /* Keeping light grey */
    /* Optional subtle pattern: */
    /* background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e9ecef' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E"); */
}

h2.section-title { /* Add class for consistent section titles */
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
    color: var(--color-text-dark);
}

hr.section-divider { /* Optional divider style */
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--color-border-light), rgba(0, 0, 0, 0));
    margin: var(--spacing-xl) 0;
}


/* --- Studio Hero V2 --- */
.studio-hero {
    background: linear-gradient(145deg, var(--color-primary) 0%, #5c7ae9 100%); /* Smoother gradient */
    color: var(--color-background-white);
    text-align: center;
    padding: calc(var(--spacing-xxl) * 1.5) var(--container-padding); /* More padding */
    position: relative;
    overflow: hidden;
}
/* Optional: Add subtle background shapes */
.studio-hero::before, .studio-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}
.studio-hero::before { width: 200px; height: 200px; top: -50px; left: -50px; }
.studio-hero::after { width: 300px; height: 300px; bottom: -100px; right: -100px; }

.studio-hero h1 {
    color: var(--color-background-white);
    margin-bottom: var(--spacing-md);
    position: relative; /* Ensure text is above pseudo-elements */
    z-index: 1;
    font-size: 3.2rem; /* Slightly larger */
}

.studio-hero .subtitle {
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px; /* Slightly narrower */
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

/* --- App Showcase Grid V2 --- */
.app-grid {
    display: grid;
    /* More responsive columns */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--spacing-xl); /* 40px gap */
}

/* --- App Card V2 --- */
.app-card {
    background-color: var(--color-background-white);
    border-radius: var(--border-radius-lg); /* 12px */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06); /* Softer, slightly larger shadow */
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--color-border-light); /* Subtle border */
}

.app-card:hover {
    transform: translateY(-6px) scale(1.01); /* Lift and slightly scale */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.app-card-icon-area {
    background: linear-gradient(135deg, var(--color-background-light), #ffffff); /* Light gradient bg */
    padding: var(--spacing-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    border-bottom: 1px solid var(--color-border-light);
}

.app-card-icon-area .app-icon {
    max-width: 80px;
    height: auto;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1)); /* Subtle shadow on icon */
}

.app-card-content {
    padding: var(--spacing-lg); /* 24px */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.app-card-content h3 {
    font-size: 1.4rem; /* Larger title */
    font-weight: 700; /* Bolder */
    margin-bottom: var(--spacing-sm); /* 8px */
}

.app-card-content p {
    color: var(--color-text-light);
    flex-grow: 1;
    margin-bottom: var(--spacing-lg); /* 24px */
    line-height: 1.6; /* Improve readability */
}

.app-card-content .cta-button {
    align-self: flex-start;
    margin-top: auto;
    background-color: var(--color-primary); /* Ensure primary style */
    color: var(--color-background-white);
    border: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-lg); /* 8px 24px */
}
.app-card-content .cta-button:hover {
     background-color: var(--color-primary-dark);
}

/* --- NumArena Page V2 --- */

.numarena-hero {
    /* Gradient using more vibrant colors */
    background: linear-gradient(110deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-background-white);
    padding: var(--spacing-xxl) 0;
    position: relative; /* For potential pseudo-elements */
    overflow: hidden;
}

.numarena-hero-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Keep 2 columns on desktop */
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative; /* Ensure content is above pseudo-elements */
    z-index: 1;
}

.numarena-hero-text .tagline {
    font-size: 1.3rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-sm);
    display: block; /* Ensure it takes own line */
}

.numarena-hero-text h1 {
    color: var(--color-background-white);
    font-size: 3.5rem; /* Even larger title */
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.25);
}
.numarena-hero-text p:not(.tagline) { /* Style description differently */
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.numarena-hero-visual {
    text-align: center; /* Center image if needed */
}

.numarena-hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); /* 3D tilt effect */
    transition: transform 0.4s ease-out;
}
.numarena-hero-visual:hover img {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) scale(1.02); /* Reduce tilt on hover */
}

/* Store Buttons V2 */
.store-buttons {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.store-button {
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    transition: transform var(--transition-speed) ease, opacity 0.2s ease;
    opacity: 0.9;
}

.store-button img {
    height: 55px; /* Slightly larger */
    width: auto;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

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

/* Feature List Section V2 */
.features-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust minmax */
    gap: var(--spacing-xl); /* More gap */
    margin-top: var(--spacing-lg);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    background-color: var(--color-background-white); /* Add background to item */
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition-speed) ease;
}
.feature-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-icon-wrapper { /* Wrapper for icon styling */
    flex-shrink: 0;
    background-color: var(--color-primary-light); /* Example: --color-primary-light needs definition */
    background-color: #eaf0ff; /* Fallback */
    color: var(--color-primary);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    font-size: 1.8rem; /* Larger icon */
    line-height: 1;
}

.feature-text h4 {
    font-size: 1.2rem; /* Slightly larger */
    margin-bottom: var(--spacing-sm); /* More space */
    font-weight: 600;
}

.feature-text p {
    font-size: 1rem; /* Standard body size */
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Screenshot Gallery V2 */
.screenshots-section h2 { /* Assuming section wrapper */
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.screenshot-gallery {
    margin-top: var(--spacing-lg);
    display: flex;
    overflow-x: auto;
    gap: var(--spacing-lg); /* More gap */
    padding: var(--spacing-sm) 0 var(--spacing-lg); /* Padding top/bottom */
    /* Add fade effect at edges if desired (requires more complex setup or JS) */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--color-border-light) transparent; /* Firefox */
}
.screenshot-gallery::-webkit-scrollbar { /* Chrome, Safari, Opera */
   height: 8px;
}
.screenshot-gallery::-webkit-scrollbar-track {
  background: transparent;
}
.screenshot-gallery::-webkit-scrollbar-thumb {
  background-color: var(--color-border-light);
  border-radius: 10px;
  border: 2px solid transparent; /* Creates padding around thumb */
  background-clip: content-box;  /* Ensure padding */
}


.screenshot-item {
    flex: 0 0 auto;
    width: 220px; /* Larger */
    height: auto; /* Let image define height */
    aspect-ratio: 9 / 16; /* Common phone screen ratio */
    background-color: var(--color-border-light);
    border-radius: var(--border-radius-lg); /* More rounding */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-out;
    overflow: hidden; /* Hide overflow for image */
    border: 1px solid var(--color-border-light);
}
.screenshot-item img { /* Style actual screenshots */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
}
.screenshot-item:hover {
    transform: scale(1.03); /* Slight scale on hover */
}

/* Final CTA Section */
.final-cta-section {
    background-color: var(--color-background-white);
    text-align: center;
}
.final-cta-section h2 {
    margin-bottom: var(--spacing-sm);
}
.final-cta-section p {
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive adjustments V2 */
@media (max-width: 992px) {
    /* Keep previous stacking */
    .numarena-hero-content { grid-template-columns: 1fr; }
    .numarena-hero-visual { order: -1; margin-bottom: var(--spacing-xl); }
    .numarena-hero-text { text-align: center; }
    .numarena-hero-visual img { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); } /* Reset tilt */
    .numarena-hero-visual:hover img { transform: scale(1.02); }
    .features-list { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } /* Allow 2 columns if space */

}

@media (max-width: 768px) {
    /* Keep previous stacking */
    .app-grid { grid-template-columns: 1fr; }
    .features-list { grid-template-columns: 1fr; } /* Force single column */
    .screenshot-gallery { gap: var(--spacing-md); } /* Reduce gap */
    .screenshot-item { width: 180px; } /* Smaller screenshots */

}

@media (max-width: 576px) {
     .studio-hero h1 { font-size: 2.5rem; }
     .numarena-hero-text h1 { font-size: 2.5rem; }
     .screenshot-item { width: 140px; }
     .store-buttons { justify-content: center; }
     .app-card-content .cta-button { align-self: stretch; text-align: center; } /* Full width button in card */
}